• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Handling response not contained in Soap envelope [JAX-WS]

 
Mayank Soni
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am calling web service which accepts request as per soap protocol but response is not contained in soap:envelope.The service responds with plain xml.
As a result i m getting exception "First Element must contain the local name, Envelope ". how one can deal with such services in JAX-WS

Please Help.

Thanks in advance
Mayank
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
See section 9.4 in my SCDJWS 5 study notes document, which you can download here: http://www.javaforum.se/jforum/posts/list/549.page
Complete example with web service and client, all developed with JAX-WS (Metro in GlassFish).
Best wishes!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic