if (message.getEventType() != XMLStreamConstants.START_ELEMENT) {
XMLStreamReaderUtil.nextElementContent(message);
}
XMLStreamReaderUtil.verifyReaderState(message, XMLStreamConstants.START_ELEMENT);
if (SOAP_ENVELOPE.equals(message.getLocalName()) && !SOAP_NAMESPACE_URI.equals(message.getNamespaceURI())) {
throw new VersionMismatchException(soapVersion, SOAP_NAMESPACE_URI, message.getNamespaceURI());
}
XMLStreamReaderUtil.verifyTag(message, SOAP_NAMESPACE_URI, SOAP_ENVELOPE);
envelopeTag = new TagInfoset(message);
for (int i = 0; i < message.getNamespaceCount(); i++) {