Hi

Thanks for asking at the users list.

I'm not sure how the difference between two cases can be explained, but in general CXF client will timeout after 60 secs (or similar), it can be changed at the Spring or Blueprint application context level, but first try the following code:

WebClient.getConfig(myClient).getHttpConfuit().getClient().setReceiveTimeout(1000000);

and see if it helps

Sergey
On 02/06/17 10:23, Bar, Shubhra wrote:
Hello Team,

I need help. I have created a webservice and client using CXF. The webclient is 
present in a web project. The web project and cxf restful webservice both are 
deployed in same server.  When I am invoking the webservice from the web 
project, the client is throwing socketTimeOutException. It is not happening 
when the client and webservice are deployed in separate server.

Kindly help and suggest.



With Regards,

Shubhra Bar


The information contained in this message may be CONFIDENTIAL and is for the 
intended addressee only.  Any unauthorized use, dissemination of the 
information, or copying of this message is prohibited.  If you are not the 
intended addressee, please notify the sender immediately and delete this 
message.



--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Reply via email to