[jboss-user] [JBossWS] - WebContext annotation and contextRoot
fbenvegna
do-not-reply at jboss.com
Wed Jan 16 03:10:38 EST 2008
I have a web-service (Session EJB3 as WS) within web application named 'wmi'.
My web context root is 'wmi'.
The original wsdl url is http://host:port/wmi-wmi/beanClassName?wsdl.
I want wsdl url as http://host:port/wmi/services?wsdl
The problem is that when I set @WebContext(contextRoot = "/wmi" , urlPattern="/services") on EJB3, url http::/wmi/services?wsdl return 404 (page not found).
But set @WebContext(contextRoot = "/wmi-ws" , urlPattern="/services") works fine (http://host:port/wmi-ws/services?wsdl).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120306#4120306
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120306
More information about the jboss-user
mailing list