com.sun.xml.ws.streaming.XMLStreamReaderException: unexpected XML tag. expected: {http://service.test.server.org/}testResponse but found: {http://schemas.xmlsoap.org/soap/envelope/}Envelope

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by marekmosiewicz, 1 year ago
unexpected XML tag. expected: {http://service.test.server.org/}testResponse but found: {http://schemas.xmlsoap.org/soap/envelope/}Envelope
via Coderanch by p adams, 11 months ago
unexpected XML tag. expected: {<NameSpace>}<Method>Response but found: {<NameSpace>}<Method>
via Oracle Community by user10070648, 11 months ago
unexpected XML tag. expected: {http://10.0.2.12:9299/cics/poc1/dfhwsdsh/profcon}BDS21100RESPONSE but found: {null}BDS21100RESPONSE
via Stack Overflow by Morten Jacobsen
, 2 years ago
unexpected XML tag. expected: {http://www.company.com/system}getFooResponse but found: {http://www.company.com/system}getFoo
via Coderanch by Turian Vlad, 11 months ago
unexpected XML tag. expected: {http://www.onepoint-project.com/webService}signOnResponse but found: {null}signOnResponse
via Coderanch by ashvini tharval, 11 months ago
unexpected XML tag. expected: {http://peoplesoft.com/KCM_CASE_SOLN_CI}Get__CompIntfc__KCM_CASE_SOLN_CIResponse but found: {http://schemas.xmlsoap.org/ws/2002/xx/secext}Get__CompIntfc__KCM_CASE_SOLN_CIResponse
com.sun.xml.ws.streaming.XMLStreamReaderException: unexpected XML tag. expected: {http://service.test.server.org/}testResponse but found: {http://schemas.xmlsoap.org/soap/envelope/}Envelope
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.verifyTag(XMLStreamReaderUtil.java:203)
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.verifyTag(XMLStreamReaderUtil.java:211)
at com.sun.xml.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:514)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:256)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:224)
at undefined.$Proxy126.test(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.