Hi, When a Axis2 1.2 client test program calls an Axis 1.4 server, the SOAP message request message is ok, and the server consumes the request and sends back a response.
When the Axis2 1.2 client program recieves the SOAP message response the following AxisFault message is thrown. org.apache.axis2.AxisFault: Transport level information does not match with SOAP Message namespace URI ============================================================================ ==================== Looking at the following link, the problem looks like it occurs when a Axis2 server is receiving a SOAP message, but my problem is that this message is thrown by the Axis2 client when it receives a SOAP response. http://wso2.org/library/559 ============================================================================ ==================== org.apache.axis2.AxisFault: Transport level information does not match with SOAP Message namespace URI at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.j ava:81) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperatio n.java:356) at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOpera tion.java:294) at com.acme.service.soap.EveryNumberServiceServiceStub.getNumber(EveryNumberSer viceServiceStub.java:162) at Test.main(Test.java:82) Caused by: org.apache.axiom.soap.SOAPProcessingException: Transport level information does not match with SOAP Message namespace URI at org.apache.axis2.builder.BuilderUtil.validateSOAPVersion(BuilderUtil.java:51 5) at org.apache.axis2.builder.SOAPBuilder.processDocument(SOAPBuilder.java:45) at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.j ava:130) at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.j ava:77) ... 4 more ============================================================================ ==================== I generated the Axis2 1.2 client program using the following command. java org.apache.axis2.wsdl.WSDL2Java -uri EveryNumberService.wsdl -s -sp -d adb This is the SOAP Request sent to the server <?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <getNumber xmlns="http://soap.service.acme.com"> <param1> <a_int> <item>2</item> <item>3</item> <item>4</item> </a_int> <n_double>22.5</n_double> <n_float>23.4</n_float> <n_int>123</n_int> <n_long>3456</n_long> <o_bigdecimal>567.67</o_bigdecimal> <o_biginteger>98765</o_biginteger> <o_double>345.67</o_double> <o_int>7585</o_int> </param1> </getNumber> </soapenv:Body> </soapenv:Envelope> ============================================================================ ==================== This is the SOAP Response sent from the server to the client <?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <getNumberResponse xmlns="http://soap.service.acme.com"> <getNumberReturn> <a_byte>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCg0KPCFET0NUWVBF IE9yZGVycyBTWVNURU0gIm9yZGVyLmR0ZCIgID4NCg0KPE9yZGVycz4NCg0KICAgICAgPFNhbGVz T3JkZXIgU09OdW1iZXI9IjEyMzQ1Ij4NCg0KICAgICAgICAgPEN1c3RvbWVyIEN1c3ROdW1iZXI9 IjU0MyI+DQogICAgICAgICAgICA8Q3VzdE5hbWU+IEFCQyBJbmR1c3RyaWVzPC9DdXN0TmFtZT4N CiAgICAgICAgICAgIDxTdHJlZXQ+MTIzIE1haW4gU3QuPC9TdHJlZXQ+DQogICAgICAgICAgICA8 Q2l0eT5DaGljYWdvPC9DaXR5Pg0KICAgICAgICAgICAgPFN0YXRlPklMPC9TdGF0ZT4NCiAgICAg ICAgICAgIDxQb3N0Q29kZT42MDYwOTwvUG9zdENvZGU+DQogICAgICAgICA8L0N1c3RvbWVyPg0K DQogICAgICAgICA8T3JkZXJEYXRlPjk4MTIxNTwvT3JkZXJEYXRlPg0KDQogICAgICAgICA8TGlu ZSBMaW5lTnVtYmVyPSIxIj4NCiAgICAgICAgICAgIDxQYXJ0IFBhcnROdW1iZXI9IjEyMyI+DQog ICAgICAgICAgICAgICA8RGVzY3JpcHRpb24+R2Fza2V0IFBhcGVyPC9EZXNjcmlwdGlvbj4NCiAg ICAgICAgICAgICAgIDxQcmljZT45Ljk1PC9QcmljZT4NCiAgICAgICAgICAgIDwvUGFydD4NCiAg ICAgICAgICAgIDxRdWFudGl0eT4xMDwvUXVhbnRpdHk+DQogICAgICAgICA8L0xpbmU+DQoNCiAg ICAgICAgIDxMaW5lIExpbmVOdW1iZXI9IjIiPg0KICAgICAgICAgICAgPFBhcnQgUGFydE51bWJl cj0iNDU2Ij4NCiAgICAgICAgICAgICAgIDxEZXNjcmlwdGlvbj48IVtDREFUQVtHYXNrZXQgPFBv bHltZXI+IEdsdWVdXT48L0Rlc2NyaXB0aW9uPg0KICAgICAgICAgICAgICAgPFByaWNlPjEzLjI3 PC9QcmljZT4NCiAgICAgICAgICAgIDwvUGFydD4NCiAgICAgICAgICAgIDxRdWFudGl0eT41PC9R dWFudGl0eT4NCiAgICAgICAgIDwvTGluZT4NCg0KICAgICAgPC9TYWxlc09yZGVyPg0KDQo8L09y ZGVycz4NCg==</a_byte> <a_int xsi:nil="true"/> <n_double>10.1</n_double> <n_float>11.11</n_float> <n_int>12</n_int> <n_long>12345678</n_long> <o_bigdecimal>123.546</o_bigdecimal> <o_biginteger>12385943</o_biginteger> <o_double>135.456</o_double> <o_int>13245</o_int> </getNumberReturn> </getNumberResponse> </soapenv:Body> </soapenv:Envelope> ============================================================================ ==================== <<Test.java>> <<EveryNumberService.wsdl>> regards > Alick Buckley > > LANSA Research and Development > LANSA Pty Ltd > > Phone: +61289070243 > > http://www.lansa.com > mailto:[EMAIL PROTECTED] > > > >
Test.java
Description: Binary data
EveryNumberService.wsdl
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
