Re: Setup URL endpoint on stub (not hardcoded)

Isuru Perera <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CAGwkLx1jxphAdKwp_fhyxdGRwyDFNjeTXvf6cx93arQ3T-wX1g@mail.gmail.com>
Hi,

Yes. If you check the Stub constructors, you can see that there is
constructor accepting the URL.

You can use it provide the URL for the client.

I hope this helps.

Thanks!


On Wed, Jul 17, 2013 at 1:29 PM, Jose María Zaragoza
<[email protected]>wrote:

>
> Hello:
>
> I'm using Axis2 to generate a stub client from WSDL.
> The stub's code has got harcoded the URL endpoint
>
> Is there any standard way to make configurable the URL endpoint for a stub
> client ?
>
> Thanks
>
>
>


-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

Twitter: http://twitter.com/chrishantha | LinkedIn:
http://lk.linkedin.com/in/chrishantha/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.