Hi Marco,

I see small error in ReplyTo/Address header: 
hhettp://www.w3.org/2005/08/addressing/none.
Does it come from your client?

Regards,
Andrei.

-----Original Message-----
From: Marco Pas [mailto:[email protected]] 
Sent: 07 May 2012 10:23
To: Daniel Kulp
Cc: [email protected]
Subject: Re: Response from CXF fails, same response using SOAP-UI works..?

I checked with wireshark and i am seeing serious differences..

It misread the logging of CXF and found that CXF is sending an empty response 
message on receiving a call to a webservice method.

<soap:Envelope 
xmlns:soap="http://www.w3.org/2003/05/soap-envelope";><soap:Header><MessageID
xmlns="http://www.w3.org/2005/08/addressing";>urn:uuid:7cd08ed0-d1ab-4f04-a152-565da745a1ef</MessageID><To
xmlns="http://www.w3.org/2005/08/addressing";>http://www.w3.org/2005/08/addressing/anonymous</To><ReplyTo
xmlns="http://www.w3.org/2005/08/addressing";><Address>hhettp://www.w3.org/2005/08/addressing/none</Address></ReplyTo><RelatesTo
xmlns="http://www.w3.org/2005/08/addressing";>http://www.w3.org/2005/08/addressing/unspecified</RelatesTo></soap:Header><soap:Body/></soap:Envelope>

After returning this response to the caller the actual response is send in a 
different request.
It guess that i am doing something wrong when using ws-addressing..
Any pointers?

2012/5/4 Daniel Kulp <[email protected]>:
>
> Do you know anything about the other server?   The *COMMON* cause of this is 
> that it's an old version of .NET that doesn't support HTTP 1.1 chunking.
>
> See:
> http://cxf.apache.org/docs/client-http-transport-including-ssl-support
> .html#ClientHTTPTransport%28includingSSLsupport%29-ANoteAboutChunking
>
> and the docs on that page to turn it off and seeing if that helps.
>
> Dan
>
>
>
> On Friday, May 04, 2012 03:46:20 PM Marco Pas wrote:
>> Hi there,
>>
>> i have a problem in which i seem to get stuck..
>>
>> The case is that i have implemented a webservice which is called by 
>> an external system. This system calls a webservice and gets a 
>> immediate response.
>> A strange thing occurs when i run the cxf service and gave back a 
>> payload, then the external systems is not able to handle my request.
>> When i return the "same" (copy and paste from the logfile payload) 
>> using SOAP-UI the external system is perfectly capable of handling 
>> the response.
>>
>> So.. to be short.. i have generated a service according to a wsdl 
>> file, implemented the service and the external system is calling my 
>> service, i return an object ..
>>
>> When returning from cxf it fails --> cxf complains:
>> org.apache.cxf.interceptor.Fault: Could not send Message...
>> Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response
>> '400: Bad Request' when communicating with  ...
>>
>> When returning from SOAP-UI --> all faces are happy and it works..
>>
>> Any suggestions on how to tackle this issue??
>>
>> /Marco
> --
> Daniel Kulp
> [email protected] - http://dankulp.com/blog Talend Community Coder - 
> http://coders.talend.com
>

Reply via email to