You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2017/03/24 14:32:41 UTC

[jira] [Resolved] (CXF-5003) Documentation : Handling client timeout is not clear

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

Daniel Kulp resolved CXF-5003.
------------------------------
       Resolution: Not A Problem
         Assignee: Daniel Kulp
    Fix Version/s: Invalid

Any properties would be transport specific and thus should be docuemented for the specific transport.   BindingProviderProperties is an Oracle/Metro specific class/property and thus would not apply to CXF.

> 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
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: Invalid
>
>
> 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 was sent by Atlassian JIRA
(v6.3.15#6346)