1 Reply Latest reply on Mar 28, 2007 2:13 PM by Jason Greene

    Anyone know how to get the context root of a Session Bean en

    natebowler Newbie

      I have a JBossWS (1.2.0) web service bound to a SSB. I have specified the port-component in jboss.xml as follows:


      This works great, and I the WS is bound to http://hostname/testWS/API.

      Is there a way, programmatically to get the <port-component-uri> setting from my SessionBean in jboss.xml? I need to publish this URL in a different location in my application, and I know the JBossWS war file does this, but I'd like a code snippet from someone that knows how this works.

      Any help would be appreciated.