users@glassfish.java.net

Defining JNDI web reference URLs in Glassfish

From: <glassfish_at_javadesktop.org>
Date: Wed, 26 May 2010 23:11:27 PDT

Hi,

I have a web application which in itself is a web service client of some other web services provided by the organisation. Is it possible to define these web services (their URLs etc.) in Glassfish admin, and access them through their JNDI name using the @WebServiceRef annotation?

I wish to avoid having URLs hardcoded and it would be convenient to have the webservice proxy instantiated and injected by the container.

thanks.
[Message sent by forum member 'jbx1']

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