[ http://jira.codehaus.org/browse/XFIRE-402?page=comments#action_65237 ] 

Stefan Freyr Stefansson commented on XFIRE-402:
-----------------------------------------------

Accidentally hit the Enter button before finishing.

The latter code block should look like this:

MyClient stub = new MyClient();
MySoap client = 
stub.getMySoap("http://127.0.0.1:8081/Industria.Geysir.Interfaces.IPTV/IPTV.asmx";);

> Provide a convenient way to take a URL to the service endpoint as a parameter.
> ------------------------------------------------------------------------------
>
>          Key: XFIRE-402
>          URL: http://jira.codehaus.org/browse/XFIRE-402
>      Project: XFire
>         Type: Improvement

>     Versions: 1.1-RC1
>  Environment: N/A
>     Reporter: Stefan Freyr Stefansson
>     Assignee: Dan Diephouse
>     Priority: Minor

>
>
> It would be good to have a convenient way of specifying an alternate remote 
> URL when creating a webservice client from the generated code from XFire.
> The way to do this now is something like this:
>       MyClient stub = new MyClient();
>       MySoap client = stub.getMySoap();
>       Client http = ((XFireProxy) 
> Proxy.getInvocationHandler(client)).getClient();
>       
> http.setUrl("http://127.0.0.1:8081/Industria.Geysir.Interfaces.IPTV/IPTV.asmx";);
> The following code would releave developers from having to put in the "hard 
> to understand" third line there:
>       MyClient stub = new MyClient();
>       MySoap client = stub.getMySoap();
>       Client http = ((XFireProxy) 
> Proxy.getInvocationHandler(client)).getClient();
>       
> http.setUrl("http://127.0.0.1:8081/Industria.Geysir.Interfaces.IPTV/IPTV.asmx";);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to