cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aster Anto (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-4273) WebClient.create(proxy) - does not exist
Date Sun, 29 Apr 2012 19:21:53 GMT

    [ https://issues.apache.org/jira/browse/CXF-4273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264588#comment-13264588
] 

Aster Anto commented on CXF-4273:
---------------------------------

{noformat}WebClient client = WebClient.client(proxy);{noformat}

I fear that is not correct. What "WebClient.client(proxy)" returns is a "Client" not a "WebClient".
We cannot cast "Client" to "WebClient" as well.
                
> WebClient.create(proxy) - does not exist
> ----------------------------------------
>
>                 Key: CXF-4273
>                 URL: https://issues.apache.org/jira/browse/CXF-4273
>             Project: CXF
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 2.6
>            Reporter: Aster Anto
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>              Labels: documentation
>
> Referring to http://cxf.apache.org/docs/jax-rs-client-api.html
> Method matching the following does not exist.
> {noformat}WebClient client = WebClient.create(proxy);{noformat}
> However, I got a WebClient from proxy by,
> {noformat}BookStore proxy = JAXRSClientFactory.create("http://books", BookStore.class);
> Client client = WebClient.client(proxy);
> WebClient webClient = WebClient.fromClient(client);{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message