This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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
It's not a secret anymore!