7 Replies Latest reply: Apr 4, 2012 6:18 AM by Paul Robinson RSS

Expose WS from default context

Paul Robinson Master

Hello,

 

I've named my war as ROOT.war and copied it to the deployments directory of JBoss-as-7.1.1.Final. I can access my servlet at the default context by visiting http://localhost:8080/myServlet. However, the WS endpoint is being deployed to the context named "ROOT":

 

 id=org.jboss.as.quickstarts.wsat.simple.RestaurantServiceATImpl
 address=http://localhost:8080/ROOT/RestaurantServiceAT
 implementor=org.jboss.as.quickstarts.wsat.simple.RestaurantServiceATImpl
 invoker=org.jboss.wsf.stack.cxf.JBossWSInvoker
 serviceName={http://www.jboss.com/jbossas/quickstarts/wsat/simple/Restaurant}RestaurantServiceATService
 portName={http://www.jboss.com/jbossas/quickstarts/wsat/simple/Restaurant}RestaurantServiceAT
 wsdlLocation=null
 mtomEnabled=false

 

Is this expected behavior? I expected the address to be this: "http://localhost:8080/RestaurantServiceAT".

 

Thanks,

 

Paul.