• 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

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

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
reply
    Bookmark Topic Watch Topic
  • New Topic