Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 875 invoked from network); 14 Jun 2007 13:10:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jun 2007 13:10:52 -0000 Received: (qmail 6052 invoked by uid 500); 14 Jun 2007 13:10:51 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 5994 invoked by uid 500); 14 Jun 2007 13:10:51 -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 5939 invoked by uid 99); 14 Jun 2007 13:10:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 06:10:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 06:10:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5A3D2714163 for ; Thu, 14 Jun 2007 06:10:26 -0700 (PDT) Message-ID: <28605595.1181826626366.JavaMail.jira@brutus> Date: Thu, 14 Jun 2007 06:10:26 -0700 (PDT) From: "sumedha rubasinghe (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Resolved: (AXIS2-2718) Empty namespace causes INVALID_CHARACTER_ERR Exception In-Reply-To: <23340956.1180138336123.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-2718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] sumedha rubasinghe resolved AXIS2-2718. --------------------------------------- Resolution: Fixed Fix Version/s: nightly quote >>>> Also, there is an issue with SOAPAction. I am setting it up explicitly to MIME header of HTTP request. But what I see on other end is: SOAPAction: "urn:anonOutInOp" < Empty namespace causes INVALID_CHARACTER_ERR Exception > ------------------------------------------------------ > > Key: AXIS2-2718 > URL: https://issues.apache.org/jira/browse/AXIS2-2718 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: client-api > Affects Versions: 1.2 > Environment: Windows XP, IBM JDK > Reporter: Vasyl Zhabko > Assignee: sumedha rubasinghe > Fix For: nightly > > > Server implementation is .NET, SOAP protocol 1.1. Response sent is (actual server response): > HTTP/1.1 200 OK > Content-Type: text/xml; charset=utf-8 > Content-Length: > > > > > int > string > string > > > > Two issues here: > First: Document header () raises exception: > Caused by: javax.xml.soap.SOAPException: com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs. > at [row,col {unknown-source}]: [2,5] > at org.apache.axis2.saaj.SOAPConnectionImpl.handleSOAPMessage(SOAPConnectionImpl.java:154) > at org.apache.axis2.saaj.SOAPConnectionImpl.call(SOAPConnectionImpl.java:117) > Second: Remove header from response: Exception raised is: > Caused by: org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified. > at org.apache.axiom.om.impl.dom.DocumentImpl.checkQName(DocumentImpl.java:460) > at org.apache.axiom.om.impl.dom.DocumentImpl.createElementNS(DocumentImpl.java:200) > at org.apache.axis2.saaj.SOAPBodyImpl.addChildElement(SOAPBodyImpl.java:141) > at org.apache.axis2.saaj.SOAPConnectionImpl.toSAAJElement(SOAPConnectionImpl.java:261) > at org.apache.axis2.saaj.SOAPConnectionImpl.getSOAPMessage(SOAPConnectionImpl.java:204) > at org.apache.axis2.saaj.SOAPConnectionImpl.handleSOAPMessage(SOAPConnectionImpl.java:152) > at org.apache.axis2.saaj.SOAPConnectionImpl.call(SOAPConnectionImpl.java:117) > Fix: build response like this (that I cannot do in production environment) : > HTTP/1.1 200 OK > Content-Type: text/xml; charset=utf-8 > Content-Length: > > > > int > string > string > > > > Everything starts working OK. > I have no control over server responses. I have responded to Axis with custom HTTP daemon. > Similar problem exists when we are building soap request messages by providing XML inside input stream (XSLT generated content). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org