[jboss-user] [JBossWS] - Re: setting context root for EJB based web services
rphadnis
do-not-reply at jboss.com
Thu Mar 13 15:35:43 EDT 2008
I am assuming you are using JBoss 4.2.2 or atleast JBossWS 2.0.1. If that is true you can set the context root using the following annotation:
import org.jboss.wsf.spi.annotation.WebContext;
.....
@WebContext(contextRoot="/YourContextRoot")
The WebContext class is in the jbossws-spi.jar in the client folder of your jboss 4.2.2 installation.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136442#4136442
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136442
More information about the jboss-user
mailing list