cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nicolas de loof" <>
Subject Fail to access a (webmethod based) SOAP service with CXF client
Date Fri, 11 Jul 2008 06:50:19 GMT

My application connects to webMethod to invoke a SOAP web service. I'm using
CXF as client.

I got SOAP faults about NullPointers throwed on the webMethod size. Using
tcpdump I discovered CXF is sending the HTTP Headers to the service :
POST /soap/linkback HTTP/1.1
Content-Type: text/xml; charset=UTF-8
Authorization: Basic T1BBTDpPUEFM
SOAPAction: "http://localhost:5555/soap/linkback"
Accept: *
Cache-Control: no-cache
Pragma: no-cache
User-Agent: Java/1.5.0_11
Connection: keep-alive
Transfer-Encoding: chunked

.. and them seems to wait for the service to accept the header before
sending the message body.

If I use netcat to call the service and send the message with the SOAP
enveloppe in body, my service call works fine.

Is there any way to force CXF client to send the full message at first time

Best regards,


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