Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

500 Internal Server error

sachin yadav
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am trying to code a client using SAAJ to hit a server endpoint to deliver s SOAP request message. My Code is as below:

I am getting fault response from server which is 500 - Internal Server Error. Unfortunately i don't have access to remote server so i can not look at the log files there.

using TCP mon i did get managed to retrieve SOAP request which is -

Problem i can see here is different content id value i think. I have even tried setting up costume value using attachment.setContentId("SOAP-ENV:Envelope"); but it doesn't seems to be working.

May be i am wrong, Can someone please tell me if this is the write way to create a SOAP XML request along with a binary/text attachment. If yes then what could be causing the problem here?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic