I am running CXF 2.2.6 on the server side, with soap binding set to 1.2
<jaxws:binding>
<soap:soapBinding version="1.2"/>
</jaxws:binding>
for java client, if the incoming request is soap1.1, the response is 1.1;
same for 1.2. everything works fine. However, for .Net basicHttpBinding
client, the incoming request is soap1.1, but the response from CXF is set to
1.2. this caused .Net client refused to take it.
incoming:
[14:35:05.586] {http--81-10$149817582}
--------------------------------------
[14:35:31.592] {http--81-9$2096725241} Inbound Message
[14:35:31.592] {http--81-9$2096725241} ----------------------------
[14:35:31.592] {http--81-9$2096725241} ID: 10
[14:35:31.592] {http--81-9$2096725241} Address:
/saw/services/SawSelfServices
[14:35:31.592] {http--81-9$2096725241} Encoding: UTF-8
[14:35:31.592] {http--81-9$2096725241} Content-Type: text/xml; charset=utf-8
[14:35:31.592] {http--81-9$2096725241} Payload: <s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><s:Header><o:Security
s:mustUnderstand="1"
xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><o:UsernameToken
u:Id="uuid-7e53a9b5-368b-4766-a014-9eb130cd0ab9-1"><o:Username>ws</o:Username><o:Password
o:Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">***</o:Password></o:UsernameToken></o:Security></s:Header><s:Body
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">***</s:Body></s:Envelope>
[14:35:31.592] {http--81-9$2096725241}
--------------------------------------
outgoing response:
[14:35:31.629] {http--81-9$2096725241} Outbound Message
[14:35:31.629] {http--81-9$2096725241} ---------------------------
[14:35:31.629] {http--81-9$2096725241} ID: 10
[14:35:31.629] {http--81-9$2096725241} Encoding: UTF-8
[14:35:31.629] {http--81-9$2096725241} Content-Type: application/soap+xml
[14:35:31.629] {http--81-9$2096725241} Headers: {}
[14:35:31.629] {http--81-9$2096725241} Payload: <soap:Envelope
xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Body><forgetUserIdResponse
xmlns="http://secureaccess.wa.gov/">***</soap:Body></soap:Envelope>
--
View this message in context:
http://old.nabble.com/cxf-2.2.6-soap-version-not-consistent-in-request-response-for-.Net-client-tp27461180p27461180.html
Sent from the cxf-user mailing list archive at Nabble.com.