• 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

Unexpected XML tag error when using Soap handler

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am new to web service world. Have created a web service client and want to handle the SOAP request and response XMLs meaning I have to write it in a Excel file for some automation purpose. I tried using SOAP handler with JAX WS but always am getting the below error. If I remove @@HandlerChain then the request works just fine , only thing is am unable to see the SOAP message.

com.sun.xml.internal.ws.streaming.XMLStreamReaderException: unexpected XML tag. expected:

I tested with SOAP UI separately which also works fine. I am sure that there is no issue with WSDL.

Even i tried the below system property and able to see the SOAP request/response but I cannot get a handle with the data.

System.setProperty("com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump", "true");

Could you please help ?

Regards,
Jana

 
reply
    Bookmark Topic Watch Topic
  • New Topic