You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Ralf Hauser (JIRA)" <ji...@apache.org> on 2009/11/27 07:00:41 UTC

[jira] Updated: (AXIS2-4563) SOAPProcessingException should have some kBytes of html if it says "First Element must contain the local name, Envelope , but found html"

     [ https://issues.apache.org/jira/browse/AXIS2-4563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralf Hauser updated AXIS2-4563:
-------------------------------

    Attachment: axis2.repository.url_misConfig1.html

what I saw when connecting with the web-browser

> 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
>         Attachments: axis2.repository.url_misConfig1.html
>
>
> 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.