Hi Lukas,

You just need set the endpoint address with different port,
Here are the example, if you publish service with jaxws api:

        Object implementor = new GreeterImpl();
        String address1 = "http://localhost:9000/SoapContext/GreeterPort";;
        Endpoint.publish(address, implementor);

        String address2 = "http://localhost:9001/SoapContext/GreeterPort";;
        Endpoint.publish(address, implementor);

Cheers,

Willem
 


-----Original Message-----
From: Lukas Zapletal [mailto:[EMAIL PROTECTED]
Sent: Tue 7/17/2007 18:44
To: [email protected]
Subject: Specifying port for the example server
 
Hello,

can I change the port of the standalone http server? I would like to
run two servers on one machine. Thanks

-- 
Lukas Zapletal
http://lukas.zapletalovi.com

Reply via email to