axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dishmily <>
Subject how can i make End point dynamic? (WSDL)
Date Fri, 26 Jun 2009 06:53:52 GMT


 i would like to ask you a question about the wsdl.

when i devloped a (java) web service in .aar data, the address location in
wsdl ist something like "http://localhost.....".

then i copied this .aar file to three different Host, each Host has
different IP Address. in each Host, the .aar file will be deployed by

 then i used the fourth PC as PHP Client to call these three Web Services.

 on the PHP Client, i can define the end point of the web service, because i
know which IP the web service has.

 but the "soap:address location" in each WSDL refers to
"http://localhost.....", it is not dynamic. can anyone give me somt tips:
what should be changed, so that the "soap:address location" in each WSDL
refers to "http://Host IP......."?  

as i know, the wsdl file is contained in .aar file, when the web service
project be "cleaned and builded". as i copied the .aar to different PC/Host
(each Host has different IP). how could the "soap:address location" in wsdl
be changed automatic/dynamic,

for example:


<service name="StockQuoteService">
        <documentation>My first service</documentation>
        <port name="StockQuotePort" binding="tns:StockQuoteBinding">
           <soap:address location="http://localhost/stockquote"/>

when .aar Data is deployed in Host,  the address location in wsdl should be
changed into:

for example, is the IP Address of this Host.

View this message in context:
Sent from the Axis - Dev mailing list archive at

View raw message