Description
Using CXF as client, Axis as server, Axis throws exception on receiving following message:
POST /axis/services/Echo HTTP/1.1
Content-Type: text/xml ; charset=utf-8
Cache-Control: no-cache
Pragma: no-cache
User-Agent: Java/1.5.0_06
Host: 127.0.0.1:9360
Accept: text/html, image/gif, image/jpeg, ; q=.2, */; q=.2
Connection: keep-alive
Transfer-Encoding: chunked
e5
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><echoBoolean xmlns:ns2="http://www.w3.org/2005/08/addressing/wsdl" xmlns="http://soapinterop.org/cxf">true</echoBoolean></soap:Body></soap:Envelope>
0
Remove the e5 and 0 wrapped on the soap message, then it works. This might relate to the encoding setting in cxf.