Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 79983 invoked from network); 8 May 2007 16:37:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 May 2007 16:37:45 -0000 Received: (qmail 93525 invoked by uid 500); 8 May 2007 16:37:45 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 93362 invoked by uid 500); 8 May 2007 16:37:43 -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 93317 invoked by uid 99); 8 May 2007 16:37:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 09:37:42 -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; Tue, 08 May 2007 09:37:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6FAB4714062 for ; Tue, 8 May 2007 09:37:15 -0700 (PDT) Message-ID: <13639520.1178642235426.JavaMail.jira@brutus> Date: Tue, 8 May 2007 09:37:15 -0700 (PDT) From: "Deepal Jayasinghe (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_12494337 ] Deepal Jayasinghe commented on AXIS2-2129: ------------------------------------------ can you please check with 1.2 release. Thanks Deepal > 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