cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jimma (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2991) Configure the http client connection and receive timeout via BindingProvider.getRequestContext
Date Tue, 14 Sep 2010 07:36:37 GMT
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.


Mime
View raw message