axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Hauser (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-4563) SOAPProcessingException should have some kBytes of html if it says "First Element must contain the local name, Envelope , but found html"
Date Wed, 25 Nov 2009 06:59:39 GMT
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.


Mime
View raw message