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/25 07:59:39 UTC
[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"
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.
[jira] Commented: (AXIS2-4563) SOAPProcessingException should have
some kBytes of html if it says "First Element must contain the local name,
Envelope , but found html"
Posted by "Ralf Hauser (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783038#action_12783038 ]
Ralf Hauser commented on AXIS2-4563:
------------------------------------
see also AXIS2-4566
> 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.
[jira] Commented: (AXIS2-4563) SOAPProcessingException should have
some kBytes of html if it says "First Element must contain the local name,
Envelope , but found html"
Posted by "Ralf Hauser (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783033#action_12783033 ]
Ralf Hauser commented on AXIS2-4563:
------------------------------------
a minor work-around could be to amend the error message with "use a normal web-browser and connect to http://yourhost/wsAppXYZ"
> 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.
[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"
Posted by "Ralf Hauser (JIRA)" <ji...@apache.org>.
[ 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.