• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

500 Internal Server error

 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic