Using the :

 JaxWsServerFactoryBean svrFactory = new JaxWsServerFactoryBean();
      svrFactory.setServiceClass(LiveActionService.class);
svrFactory.setAddress("http://0.0.0.0:"; + WEB_SERVICE_PORT + "/MyService");
      svrFactory.setServiceBean(implementor);
      svrFactory.create();


method to serve up my web service works just fine and dandy, and seems to be the only way to allow my service to be invoked from any of the following just fine:

http://localhost   (on the same machine, obviously)
http://servername
http://ipaddress

I do not know of another way to make it work this way. Entering either server name or ipaddress or localhost explicitly in the setAddress() method causes one or more of the other URL invocations not to work.

Right now it seems to work the way I want, but I just want to confirm that the intended/best setAddress usage/config is as I have it, using the http://0.0.0.0 format.

Thanks,
Chris

Reply via email to