Hi I have problem with sending request from SMX to SAP. When i send request the header "Expect: 100-continue" is added but cxf sends body in payload too. So my request looks like:
POST /sap/something HTTP/1.1 Content-Type: text/xml connection: Keep-Alive Authorization: Basic XXXXXXXXXXXXXXXxxXXxXXxXXX== Expect: 100-continue Host: 10.XXX.XXX.XXX:1XXX SOAPAction: getSomething accept-encoding: gzip,deflate,gzip,gzip Accept: text/xml nmrMessage: Message [] User-Agent: Apache CXF 2.2.6 Cache-Control: no-cache Pragma: no-cache Content-Length: 361 <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:urn="urn:sap-com:document:sap" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > <soapenv:Header/> <soapenv:Body> <urn:GetSomething> <Id>1111111</Id> </urn:GetSomething> </soapenv:Body> </soapenv:Envelope> The body is send with headers and in response i've got: HTTP/1.1 100 Continue server: SAP NetWeaver Application Server (ICM) Now SMX/cxf wait still for response from server but SAP/server is still waiting for body. As a result I get timeout. Maybe you know why CXF sends body with headers when 100-continue is set. I think headers should be send first and body after response from server. Do you know any solution for this problem? My version of SMX is 4.2 and cxf 2.2.6. -- View this message in context: http://servicemix.396122.n5.nabble.com/CXF-Expect-100-continue-problem-tp5715609.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
