3 Replies Latest reply on Jun 1, 2006 1:20 PM by jimhenderson

    Problem getting transport.url from MessageContext in jboss-4

    jimhenderson

      With jboss-4.0.3SP1 & jboss-4.0.4RC1 i have used this in the init method to get the url used to call my servlet style web service endpoint...

      public void init(Object p_context) throws ServiceException
      {
       ServletEndpointContext l_jaxrpcContext = (ServletEndpointContext)p_context;
      
       MessageContext l_messageContext = l_jaxrpcContext.getMessageContext();
      
       String l_strTransportUrl = (String)l_messageContext.getProperty("transport.url");
      }
      


      However i have just tried the same thing with jboss-4.0.4.CR2 and the transport.url property does not seem to exist.

      Is there a new way i can find out the transport.url with jboss-4.0.4.CR2 or will the old way be added back in for the next release?