You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "jimma (JIRA)" <ji...@apache.org> on 2010/09/14 09:36:37 UTC
[jira] Created: (CXF-2991) Configure the http client connection and
receive timeout via BindingProvider.getRequestContext
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
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.
[jira] Resolved: (CXF-2991) Configure the http client connection
and receive timeout via BindingProvider.getRequestContext
Posted by "jimma (JIRA)" <ji...@apache.org>.
[ 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.