dcsimg
problem in using WSDL2Java tool in axis
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ajit_roy
Posted On:   Monday, December 26, 2005 06:21 AM

Hi all,
When we make our Webservices in Apache Axis at Server,the first step is to generate the WSDL file by using Java2WSDL tool and passing the interface and ip address of server as argument.For example,

org.apache.axis.wsdl.Java2WSDL -o AddService.wsdl -l"http://127.0.0.1:8080/axis/services/AddService" -n AddService

Then we use WSDL2Java to generate java files and write our code there.

My problem is that I do not know what will be the IP address of the machine where this service will be deployed.So is there any way so that we can make all the java files in our application but provide the ip address during deployment.

About | Sitemap | Contact