Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 52628 invoked from network); 26 Apr 2006 14:09:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Apr 2006 14:09:29 -0000 Received: (qmail 75344 invoked by uid 500); 26 Apr 2006 14:09:26 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 75295 invoked by uid 500); 26 Apr 2006 14:09:26 -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 75284 invoked by uid 99); 26 Apr 2006 14:09:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Apr 2006 07:09:26 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Apr 2006 07:09:25 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BA3537142BD for ; Wed, 26 Apr 2006 14:09:03 +0000 (GMT) Message-ID: <79414807.1146060543760.JavaMail.root@brutus> Date: Wed, 26 Apr 2006 14:09:03 +0000 (GMT+00:00) From: "benson margulies (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS-2356) Axis fails to deserialize faults that involve text elements In-Reply-To: <24949712.1135714295398.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS-2356?page=comments#action_12376487 ] benson margulies commented on AXIS-2356: ---------------------------------------- You can pick up my patch and apply it to your copy of Axis 1.3. I've been running with the patch for months now. This seems to be a clear case of 'be picky in what you generate, but generous in what you accept' or whoever that protocol cliche works out. On the one hand, the consensus of a discussion elsewhere is that the standard really doesn't permit this. On the other hand, there are lots of servers out there that do it, the original author was trying to support it, and the fix is small. On the third hand, the caravan seems to have moved on to Axis 2. > Axis fails to deserialize faults that involve text elements > ----------------------------------------------------------- > > Key: AXIS-2356 > URL: http://issues.apache.org/jira/browse/AXIS-2356 > Project: Apache Axis > Type: Bug > Components: Serialization/Deserialization > Environment: Java 1.4 on WIndows, talking to a gSoap server. (axis 1.3.1). > Reporter: benson margulies > Attachments: SOAPFaultBuilder.java.patch > > SOAPFaultBuilder.onEndChild fails with a DomEx error in the case where the node is a Text node. The complaint is that the node that is being added by XMLUtils.newDocument().createElement("text") is in the wrong document. > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> > > > SOAP-ENV:Server > 502 Bad Gateway > Invalid response from upstream server localhost:8000 > > > > SOAPFaultBuilder.onEndChild(String, String, DeserializationContext) line: 305 DeserializationContext.endElement(String, String, String) line: 1090 > Parser2.maybeElement(ElementValidator) line: 1712 Parser2.content(ElementDecl, boolean, ElementValidator) line: 1963 > Parser2.maybeElement(ElementValidator) line: 1691 Parser2.content(ElementDecl, boolean, ElementValidator) line: 1963 > Parser2.maybeElement(ElementValidator) line: 1691 Parser2.content(ElementDecl, boolean, ElementValidator) line: 1963 > Parser2.maybeElement(ElementValidator) line: 1691 > Parser2.parseInternal(InputSource) line: 667 > Parser2.parse(InputSource) line: 337 > XMLReaderImpl.parse(InputSource) line: 448 SAXParserImpl(SAXParser).parse(InputSource, DefaultHandler) line: 345 > DeserializationContext.parse() line: 227 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira