• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

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?
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic