users@glassfish.java.net

Get the port from the container

From: <glassfish_at_javadesktop.org>
Date: Fri, 01 Aug 2008 09:09:40 PDT

I'm trying to construct the URL of a web service within my project dynamically and having no progress. I can get my host using InetAddress, but not the port.
Any help would be appreciated.

Thanks,
Joshua
[Message sent by forum member 'joshua_77' (joshua_77)]

http://forums.java.net/jive/thread.jspa?messageID=290971