Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 69202 invoked from network); 27 Nov 2009 05:59:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Nov 2009 05:59:06 -0000 Received: (qmail 86460 invoked by uid 500); 27 Nov 2009 05:59:05 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 86121 invoked by uid 500); 27 Nov 2009 05:59:04 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 86041 invoked by uid 99); 27 Nov 2009 05:59:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Nov 2009 05:59:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Nov 2009 05:59:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B6ABC234C1EF for ; Thu, 26 Nov 2009 21:58:39 -0800 (PST) Message-ID: <1149754106.1259301519746.JavaMail.jira@brutus> Date: Fri, 27 Nov 2009 05:58:39 +0000 (UTC) From: "Ralf Hauser (JIRA)" To: axis-dev@ws.apache.org Subject: [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" In-Reply-To: <1247033675.1259132379617.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on 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.(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.