File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SOAP envelop modifcation

 
swapnil paranjape
Ranch Hand
Posts: 126
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I have written the java client to generate the SOAP request. By default its generating the SOAP envelop



But I am getting the fault code in the response .

When I used SOAP UI to generate the request and test web service I am getting the appropriate response without any error.
So I think the envelop is causing the falut code in my Java client request since body remains the same in both the requests

This is the envelop generated by SOAP UI



How can I change the envelop ?

I am using following java code



after this I am creating SOAP message body
 
shivendra tripathi
Ranch Hand
Posts: 263
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you provide the soap envelope genrated by your code and soapui as well as the faulty response.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic