You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "WY Ho (JIRA)" <ji...@apache.org> on 2007/02/07 16:59:05 UTC

[jira] Created: (AXIS2-2129) Transport level information does not match with SOAP Message namespace URI

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

Hi,

I got the following error:

10:10:43,890  [main] DEBUG Wire : << "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:ws"
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/"><soapenv:Header><wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address></wsa:ReplyTo>
<wsa:MessageID>urn:uuid:96F2F716A6F976F660117086104378010</wsa:MessageID>
<wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action></soapenv:Header><soapenv:Body><soapenv:Fault>
<faultcode></faultcode>
<faultstring>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
</faultstring><detail/></soapenv:Fault></soapenv:Body></soapenv:Envelope>"
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


[jira] Closed: (AXIS2-2129) Transport level information does not match with SOAP Message namespace URI

Posted by "Srinath Perera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Srinath Perera closed AXIS2-2129.
---------------------------------

    Resolution: Fixed

I tried your client code using current trunk as underline implementation. Things works fine for me. So I am closing this issue. But if you see this particuler error again please reopen with updates. 

> 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
>            Assignee: Deepal Jayasinghe
>            Priority: Blocker
>         Attachments: codeSrc.zip, logs.txt
>
>
> Hi,
> I got the following error:
> 10:10:43,890  [main] DEBUG Wire : << "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:ws"
> 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/"><soapenv:Header><wsa:ReplyTo>
> <wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address></wsa:ReplyTo>
> <wsa:MessageID>urn:uuid:96F2F716A6F976F660117086104378010</wsa:MessageID>
> <wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action></soapenv:Header><soapenv:Body><soapenv:Fault>
> <faultcode></faultcode>
> <faultstring>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
> </faultstring><detail/></soapenv:Fault></soapenv:Body></soapenv:Envelope>"
> 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


[jira] Updated: (AXIS2-2129) Transport level information does not match with SOAP Message namespace URI

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi updated AXIS2-2129:
------------------------------------------------

    Priority: Blocker  (was: Major)

> 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
>            Assignee: Deepal Jayasinghe
>            Priority: Blocker
>         Attachments: codeSrc.zip, logs.txt
>
>
> Hi,
> I got the following error:
> 10:10:43,890  [main] DEBUG Wire : << "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:ws"
> 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/"><soapenv:Header><wsa:ReplyTo>
> <wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address></wsa:ReplyTo>
> <wsa:MessageID>urn:uuid:96F2F716A6F976F660117086104378010</wsa:MessageID>
> <wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action></soapenv:Header><soapenv:Body><soapenv:Fault>
> <faultcode></faultcode>
> <faultstring>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
> </faultstring><detail/></soapenv:Fault></soapenv:Body></soapenv:Envelope>"
> 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


[jira] Commented: (AXIS2-2129) Transport level information does not match with SOAP Message namespace URI

Posted by "WY Ho (JIRA)" <ji...@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 : << "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:ws"
> 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/"><soapenv:Header><wsa:ReplyTo>
> <wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address></wsa:ReplyTo>
> <wsa:MessageID>urn:uuid:96F2F716A6F976F660117086104378010</wsa:MessageID>
> <wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action></soapenv:Header><soapenv:Body><soapenv:Fault>
> <faultcode></faultcode>
> <faultstring>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
> </faultstring><detail/></soapenv:Fault></soapenv:Body></soapenv:Envelope>"
> 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


[jira] Commented: (AXIS2-2129) Transport level information does not match with SOAP Message namespace URI

Posted by "WY Ho (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505312 ] 

WY Ho commented on AXIS2-2129:
------------------------------

Sure, you can close it for now.
Thanks again. Appreciate your email contacts re. this issue.

wen 



> 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
>            Assignee: Deepal Jayasinghe
>            Priority: Blocker
>         Attachments: codeSrc.zip, logs.txt
>
>
> Hi,
> I got the following error:
> 10:10:43,890  [main] DEBUG Wire : << "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:ws"
> 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/"><soapenv:Header><wsa:ReplyTo>
> <wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address></wsa:ReplyTo>
> <wsa:MessageID>urn:uuid:96F2F716A6F976F660117086104378010</wsa:MessageID>
> <wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action></soapenv:Header><soapenv:Body><soapenv:Fault>
> <faultcode></faultcode>
> <faultstring>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
> </faultstring><detail/></soapenv:Fault></soapenv:Body></soapenv:Envelope>"
> 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


[jira] Commented: (AXIS2-2129) Transport level information does not match with SOAP Message namespace URI

Posted by "Malte Christensen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500807 ] 

Malte Christensen commented on AXIS2-2129:
------------------------------------------

I have recently begun using WS and am by no means an expert. Our project will make heavy use of Axis 2 and I am currently conducting feasibility studies using 1.2 with xmlbeans binding. 

I have come across the exact same problem (and the one where I need to do env.build() or even just System.out.println(env)), from within the stub to avoid a NPE when calling execute.

Is there any previous version that will actually work? 

Cheers, Malte Christensen

> 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 : << "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:ws"
> 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/"><soapenv:Header><wsa:ReplyTo>
> <wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address></wsa:ReplyTo>
> <wsa:MessageID>urn:uuid:96F2F716A6F976F660117086104378010</wsa:MessageID>
> <wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action></soapenv:Header><soapenv:Body><soapenv:Fault>
> <faultcode></faultcode>
> <faultstring>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
> </faultstring><detail/></soapenv:Fault></soapenv:Body></soapenv:Envelope>"
> 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


[jira] Updated: (AXIS2-2129) Transport level information does not match with SOAP Message namespace URI

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-2129:
------------------------------------

    Assignee: Deepal Jayasinghe

> 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
>            Assignee: Deepal Jayasinghe
>         Attachments: codeSrc.zip, logs.txt
>
>
> Hi,
> I got the following error:
> 10:10:43,890  [main] DEBUG Wire : << "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:ws"
> 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/"><soapenv:Header><wsa:ReplyTo>
> <wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address></wsa:ReplyTo>
> <wsa:MessageID>urn:uuid:96F2F716A6F976F660117086104378010</wsa:MessageID>
> <wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action></soapenv:Header><soapenv:Body><soapenv:Fault>
> <faultcode></faultcode>
> <faultstring>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
> </faultstring><detail/></soapenv:Fault></soapenv:Body></soapenv:Envelope>"
> 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


[jira] Commented: (AXIS2-2129) Transport level information does not match with SOAP Message namespace URI

Posted by "Deepal Jayasinghe (JIRA)" <ji...@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 : << "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:ws"
> 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/"><soapenv:Header><wsa:ReplyTo>
> <wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address></wsa:ReplyTo>
> <wsa:MessageID>urn:uuid:96F2F716A6F976F660117086104378010</wsa:MessageID>
> <wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action></soapenv:Header><soapenv:Body><soapenv:Fault>
> <faultcode></faultcode>
> <faultstring>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
> </faultstring><detail/></soapenv:Fault></soapenv:Body></soapenv:Envelope>"
> 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


[jira] Commented: (AXIS2-2129) Transport level information does not match with SOAP Message namespace URI

Posted by "WY Ho (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504920 ] 

WY Ho commented on AXIS2-2129:
------------------------------

I haven't got  the chance to test it out.

Thanks.
wen



> 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
>            Assignee: Deepal Jayasinghe
>            Priority: Blocker
>         Attachments: codeSrc.zip, logs.txt
>
>
> Hi,
> I got the following error:
> 10:10:43,890  [main] DEBUG Wire : << "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:ws"
> 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/"><soapenv:Header><wsa:ReplyTo>
> <wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address></wsa:ReplyTo>
> <wsa:MessageID>urn:uuid:96F2F716A6F976F660117086104378010</wsa:MessageID>
> <wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action></soapenv:Header><soapenv:Body><soapenv:Fault>
> <faultcode></faultcode>
> <faultstring>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
> </faultstring><detail/></soapenv:Fault></soapenv:Body></soapenv:Envelope>"
> 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