File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes SOAP envelop modifcation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAP envelop modifcation" Watch "SOAP envelop modifcation" New topic

SOAP envelop modifcation

swapnil paranjape
Ranch Hand

Joined: May 15, 2005
Posts: 126
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

Joined: Aug 26, 2008
Posts: 263
Can you provide the soap envelope genrated by your code and soapui as well as the faulty response.

SCJP 1.5(97%) My Blog
I agree. Here's the link:
subject: SOAP envelop modifcation
jQuery in Action, 3rd edition