• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unexpected XML tag error when using Soap handler  RSS feed

Jana Raj
Posts: 1
  • Mark post as helpful
  • send pies
  • 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 ?


With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!