* @throws WsException
*/
private void readSoapHeaders(IXMLReader xmlReader, InContext context) throws IOException, WsException {
try {
XmlReaderWrapper wrpr = XmlReaderWrapper.createXmlReaderWrapper(xmlReader);
while (wrpr.toTag() == IXMLReader.START_TAG) {
/**
* If handlers are defined on the headers, they have the opportunity to read the header. Otherwise the
* header will be skipped.
*/
Object header = context.invokeInHandlers(SoapPhase.HEADER, xmlReader);