org.jboss.webservice.server
Class PortComponentLinkServlet

java.lang.Object
  extended byHttpServlet
      extended byorg.jboss.webservice.server.PortComponentLinkServlet

public class PortComponentLinkServlet
extends HttpServlet

A servlet that reports the serviceURL for a given service ID.

See AxisService (src) for details on the registry of PortComponentInfo (src) objects.

When the web service client ENC is setup, it may contain port-component-link entries that point to service endpoints in the same top level deployment. The final serviceURL of those endpoints will become available after the reference to the javax.xml.rpc.Service is bound to JNDI.

When the client does a lookup of the javax.xml.rpc.Service from JNDI the ObjectFactory will contact this servlet for the final serviceURL. It is acceptable that the client wsdl does not contain the correct serviceURL if the client is using the port-component-link element.

Since:
29-May-2004
See Also:
Serialized Form

Constructor Summary
PortComponentLinkServlet()
           
 
Method Summary
protected  void doGet(HttpServletRequest req, HttpServletResponse res)
          Get the serviceURL as string for a given serviceID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortComponentLinkServlet

public PortComponentLinkServlet()
Method Detail

doGet

protected void doGet(HttpServletRequest req,
                     HttpServletResponse res)
              throws ServletException,
                     java.io.IOException
Get the serviceURL as string for a given serviceID.

Throws:
ServletException
java.io.IOException