axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Cogan <patrick.co...@gmail.com>
Subject Re: inconvenient host name / port # in WSDL file
Date Thu, 27 Jan 2005 11:21:48 GMT
Using Axis RC2 it automatically substitutes the correct url of the
machine it is running on, regardless of what the actual value is in
the wsdl. This works even if you specify in the deploy.wsdd
<wsdlFile>/xxx.wsdl</wsdlFile>under <service> element for you service.

Regards,

Patrick.


On Thu, 27 Jan 2005 09:10:18 +0900, Bill Keese
<billk@tech.beacon-it.co.jp> wrote:
> It's inconvenient having the host name / port number in the WSDL file,
> like below, because every time you setup your service on a new machine
> you have to manually modify the WSDL file with the new machine's name.
> Do other people have a trick for dealing w/this inconvenience? Are
> people dynamically generating their WSDL files, similar to the way JSP
> pages are dynamically generated?
> 
> <wsdl:service name="MyService">
> <wsdl:port binding="impl:InicioSoapBinding" name="MyService">
> <wsdlsoap:address location="http://localhost:8080/axis/services/MyService"/>
> </wsdl:port>
> </wsdl:service>
> 
> Thanks,
> Bill
> 
>

Mime
View raw message