[ 
https://issues.apache.org/jira/browse/CXF-2991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jimma resolved CXF-2991.
------------------------

      Assignee: jimma
    Resolution: Fixed

> Configure the http client connection and receive timeout via 
> BindingProvider.getRequestContext
> ----------------------------------------------------------------------------------------------
>
>                 Key: CXF-2991
>                 URL: https://issues.apache.org/jira/browse/CXF-2991
>             Project: CXF
>          Issue Type: New Feature
>            Reporter: jimma
>            Assignee: jimma
>
> We now use configuration xml or  cxf property api to  configure the http 
> client connection and receive time out .  It will make things easy if the 
> client connection or receive timeout can be configured via 
> BindingProvider.getRequestConext() like :
>         Greeter greeter = service.getPort(portName, Greeter.class);
>         
> ((javax.xml.ws.BindingProvider)greeter).getRequestContext().put("javax.xml.ws.client.receiveTimeout",
>                                                                         
> "50"); 
>         
> ((javax.xml.ws.BindingProvider)greeter).getRequestContext().put("javax.xml.ws.client.connectionTimeout",
>                                                                         
> "50"); 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to