com.sun.xml.ws.streaming.XMLStreamReaderException: XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,94] Message: Element type "S:Body" must be followed by either attribute specifications, ">" or "/>". at com.sun.xml.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamRead erUtil.java:256) at com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.ja va:84) at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReader Util.java:99) at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStrea mReaderUtil.java:89)

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 392 Guest, 1 year ago
XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,94] Message: Element type "S:Body" must be followed by either attribute specifications, ">" or "/>". at com.sun.xml.ws.streaming.XMLStreamReaderUtil.wrapException
via Java.net JIRA by anand_mishra, 1 year ago
unexpected XML tag. expected: {http://schemas.xmlsoap.org/soap/envelope/}Envelope but found: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}SecurityTokenReference at com.sun.xml.ws.streaming.XMLStreamReaderUtil.verifyTag(XMLStreamReaderUtil.java:214)
via Java.net JIRA by anand_mishra, 1 year ago
unexpected XML tag. expected: {http://schemas.xmlsoap.org/soap/envelope/}Envelope but found: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}SecurityTokenReference at com.sun.xml.ws.streaming.XMLStreamReaderUtil.verifyTag(XMLStreamReaderUtil.java:214)
com.sun.xml.ws.streaming.XMLStreamReaderException: XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,94] Message: Element type "S:Body" must be followed by either attribute specifications, ">" or "/>". at com.sun.xml.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamRead erUtil.java:256) at com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.ja va:84) at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReader Util.java:99) at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStrea mReaderUtil.java:89)
at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:194)
at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:163)

Users with the same issue

You are the first who have seen this exception.

Write tip

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