This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Web Services and the fly likes Unexpected XML tag error when using Soap handler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Unexpected XML tag error when using Soap handler" Watch "Unexpected XML tag error when using Soap handler" New topic
Author

Unexpected XML tag error when using Soap handler

Jana Raj
Greenhorn

Joined: Nov 13, 2012
Posts: 1
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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unexpected XML tag error when using Soap handler