[jboss-user] [JBossWS] - @WebContext url pattern problem

agohar do-not-reply at jboss.com
Wed Jun 11 04:20:05 EDT 2008


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157246#4157246

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4157246



More information about the jboss-user mailing list