Hi
Does anybody know how to call a web service directly, I mean:
A web service is deployed and the IP is xxx.yyy.aaa.bbb
A client bean wnat to call this web service and the code is the following:
Context ic = new InitialContext();
Object homeObj = ic.lookup("java:comp/env/ejb/traderHome");
TraderHome home;
home = (TraderHome) PortableRemoteObject.narrow(homeObj, TraderHome.class);
Trader trader;
trader = (Trader) PortableRemoteObject.narrow(home.create(), Trader.class);
But, how can I specify that the service is in a concrete IP. I do not want the
client to find out the service, bacause I know exactly where it is.
Thanks for the help
Pepe
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879436#3879436
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879436
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user