1 Reply Latest reply on Jun 11, 2008 4:33 AM by Alessio Soldano

    @WebContext url pattern problem

    Ali Gohar Newbie

      Hi,

      I am using jboss-4.2.2 and EJB 3.0 SLSB to generate a webservice. I've defined a @WebContext for the webservice like:

      @WebContext (contextRoot = "/myweb", urlPattern="/myweb-service/WebDelegateEndPoint")
      


      Notice that "myweb" is common in contextRoot and urlPattern attributes. When jbossws generates the webservice, it generates the URL for the webservice as:

      http://localhost:8080/myweb/-service/WebDelegateEndPoint?wsdl

      Notice the missing "myweb" in the url pattern.

      I am expecting it to generate:

      http://localhost:8080/myweb/myweb-service/WebDelegateEndPoint?wsdl

      Is it a bug or am i doing anything wrong? Any idea?

      Thanks