cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ABC <>
Subject fail to get the fault code when using Axis2 client send a SOAP12 msg to CXF SOAP11 endpoint
Date Fri, 01 Feb 2013 10:00:51 GMT
I am using Axis2 as my client to test a SOAP12 msg to CXF SOAP11 endpoint. But from the thrown
soapFault exception, I can't get the faultcode.
I catch the response msg:
<soap:Envelope xmlns:soap="">
         <faultcode xmlns:ns1="">ns1:VersionMismatch</faultcode>
         <faultstring>SOAP 1.2 is invalid .....</faultstring>

If I changed the server to Axis2 and I get the response:
<soapenv:Envelope xmlns:soapenv="">
         <faultstring>Transport level information does not match with SOAP Message namespace

It seems the CXF just replies the soap msg in SOAP12 namespace "",
while Axis2 can correct it to SOAP11 namespace "",
then the axis2 client can't figure out the fault code. Is it a issue to CXF?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message