cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Mouawad (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-5003) Documentation : Handling client timeout is not clear
Date Mon, 06 May 2013 10:20:15 GMT

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

Philippe Mouawad updated CXF-5003:
----------------------------------

    Component/s: JAX-WS Runtime
    
> Documentation : Handling client timeout is not clear
> ----------------------------------------------------
>
>                 Key: CXF-5003
>                 URL: https://issues.apache.org/jira/browse/CXF-5003
>             Project: CXF
>          Issue Type: Bug
>          Components: Documentation, JAX-WS Runtime
>    Affects Versions: 2.4.10, 2.6.6, 2.7.4
>            Reporter: Philippe Mouawad
>            Priority: Minor
>
> http://cxf.apache.org/docs/developing-a-consumer.html says:
> *Request context* - on the client side, the request context enables you to
> set properties that affect outbound messages. Request context properties
> are applied to a specific port instance and, once set, the properties
> affect every subsequent operation invocation made on the port, until such
> time as a property is explicitly cleared. For example, you might use a
> request context property to set a connection timeout or to initialize data
> for sending in a header.
>     Service = new Service();
>     Port = Service.getPort();
>     ((BindingProvider) Port).getRequestContext().put(
>             BindingProviderProperties.CONNECT_TIMEOUT,
>             30);
>     ((BindingProvider) Port).getRequestContext().put(
>             BindingProviderProperties.REQUEST_TIMEOUT,
>             30);
> But it does not work.
> See this question on mailing list:
> http://mail-archives.apache.org/mod_mbox/cxf-users/201305.mbox/%3CCAH9fUpYxuZSv0H81hK9eX75a%2BF16WLjGmyLa1phZCck95bsUFA%40mail.gmail.com%3E

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message