• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SOAP envelop modifcation

 
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you provide the soap envelope genrated by your code and soapui as well as the faulty response.
reply
    Bookmark Topic Watch Topic
  • New Topic