how to invoke a webservice from one container in another container in glassfish

Posted by vinny on Stack Overflow See other posts from Stack Overflow or by vinny
Published on 2010-04-22T23:25:30Z Indexed on 2010/04/22 23:33 UTC
Read the original article Hit count: 282

Filed under:
|
|
|

I have webservices deployed on two containers in two separate servers A and B. A webMethod in 'Server A' needs to invoke a webmethod in 'Server B'.

I have created a client stub for Sever B. Im trying to make 'Server A' use this client stub and talk to Server B. I get an exception while trying to instantiate the port object specifically at : service.getABCBeanPort();

(using JAX-WS library)

Is my approach correct? Is there any better way of invoking a webservice on a remote server?

© Stack Overflow or respective owner

Related posts about java

Related posts about glassfish