users@glassfish.java.net

How can a Web Service get the wsdl of where it is deployed?

From: <glassfish_at_javadesktop.org>
Date: Wed, 17 Dec 2008 09:55:44 PST

Hi,

How can my WebService find out where it is deployed.?

the sun-ejb-jar.xml file is defining the <endpoint-address-uri>.
 
I would like at runtime to find out where the application is deployed

host:8080/ctx/app?wsdl

How can my @WebService class find that out ?

THANKS !!!
[Message sent by forum member 'malmeidalmi' (malmeidalmi)]

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