Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 92781 invoked from network); 22 Feb 2007 22:34:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Feb 2007 22:34:30 -0000 Received: (qmail 64791 invoked by uid 500); 22 Feb 2007 22:34:35 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 64751 invoked by uid 500); 22 Feb 2007 22:34:35 -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 64727 invoked by uid 99); 22 Feb 2007 22:34:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Feb 2007 14:34:35 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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, 22 Feb 2007 14:34:25 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D64307141E2 for ; Thu, 22 Feb 2007 14:34:05 -0800 (PST) Message-ID: <32309841.1172183645874.JavaMail.jira@brutus> Date: Thu, 22 Feb 2007 14:34:05 -0800 (PST) From: "WY Ho (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-2129) Transport level information does not match with SOAP Message namespace URI In-Reply-To: <10758732.1170863945520.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-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12475185 ] WY Ho commented on AXIS2-2129: ------------------------------ Any updates on this issue? Thanks... > Transport level information does not match with SOAP Message namespace URI > -------------------------------------------------------------------------- > > Key: AXIS2-2129 > URL: https://issues.apache.org/jira/browse/AXIS2-2129 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: transports > Affects Versions: 1.1 > Environment: Windows XP, Tomcat 5.5.20 > Reporter: WY Ho > Attachments: codeSrc.zip, logs.txt > > > Hi, > I got the following error: > 10:10:43,890 [main] DEBUG Wire : << " 10:10:43,890 [main] DEBUG StAXUtils : XMLStreamReader is com.sun.xml.stream.XMLReaderImpl > 10:10:43,905 [main] DEBUG Wire : <<"a="http://www.w3.org/2005/08/addressing" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> > http://www.w3.org/2005/08/addressing/none > urn:uuid:96F2F716A6F976F660117086104378010 > http://www.w3.org/2005/08/addressing/soap/fault > > Content type should be one of /n text/xml/n application/x-www-form-urlencoded/n multipart/related; nested exception is: [\n]" > 10:10:43,905 [main] DEBUG Wire : << "[0x9]org.apache.axis2.AxisFault: > Content type should be one of /n text/xml/n application/x-www-form-urlencoded/n multipart/related > " > 10:10:43,905 [main] DEBUG StAXOMBuilder : START_ELEMENT: > {http://schemas.xmlsoap.org/soap/envelope/}Envelope:Envelope > 10:10:43,921 [main] DEBUG StAXSOAPModelBuilder : Starting to process SOAP 1.1 message > 10:10:43,921 [main] DEBUG StAXSOAPModelBuilder : Build the OMElelment EnvelopeBy the StaxSOAPModelBuilder > org.apache.axis2.AxisFault: Transport level information does not match with SOAP Message namespace URI; nested exception is: > org.apache.axiom.soap.SOAPProcessingException: Transport level information does not match with SOAP Message namespace URI > at > org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:126) > at > org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67) > at > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:381) > at > org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:295) > It looks like the client stub class is creating a SOAP 1.2 envelope message, as the following: > _operationClient.getOptions().getSoapVersionURI() returns http://www.w3.org/2003/05/soap-envelope (namespace SOQP1.2) > But the StAXSOAPModelBuilder is trying to process it as SOAP 1.1 message (?), refer to the above logs. > Any pointers how to solve this? > Check the wso has article on this, http://wso2.org/library/559. > But how do you control the > _operationClient.getOptions().getSoapVersionURI() to return the correct SOAP version? > Thanks in advance, > wen -- 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