SOAPProcessingException should have some kBytes of html if it says "First Element must contain the local name, Envelope , but found html" -----------------------------------------------------------------------------------------------------------------------------------------
Key: AXIS2-4563 URL: https://issues.apache.org/jira/browse/AXIS2-4563 Project: Axis 2.0 (Axis2) Issue Type: Improvement Affects Versions: 1.5 Environment: sun java 1.5, debian lenny Reporter: Ralf Hauser when trying to connect to a potentially misconfigured axis server inside a tomcat, i get Caused by: org.apache.axiom.soap.SOAPProcessingException: First Element must contain the local name, Envelope , but found html at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.constructNode(StAXSOAPModelBuilder.java:267) at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createOMElement(StAXSOAPModelBuilder.java:214) at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createNextOMElement(StAXSOAPModelBuilder.java:196) at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:207) at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:161) at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:110) at org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(BuilderUtil.java:682) at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:210) at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:140) at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:103) It would be helpful to see what the first couple of lines of the html are to determine the error! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.