This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: SOAP envelop modifcation
Similar Threads
sendind SOAP request
Security in Axis 1.4
problem while calling document style web service
Send SOAP Request to wsdl
Namespace is removed from Responce on WebSphere in SOAP based Service