JBoss Community

Re: Expose WS from default context

created by Paul Robinson in JBoss Web Services - View the full discussion

Alessio,

 

I'm not using a web.xml. These are the annotations on my Service Impl:

 

 

@WebService(serviceName = "RestaurantServiceATService", portName = "RestaurantServiceAT", name = "RestaurantServiceAT", targetNamespace = "http://www.jboss.com/jbossas/quickstarts/wsat/simple/Restaurant")
@HandlerChain(file = "/context-handlers.xml", name = "Context Handlers")
@SOAPBinding(style = SOAPBinding.Style.RPC)
@WebServlet("/RestaurantServiceAT")

 

Is this enough information?

 

My understanding is that I can set the context root in the web.xml, but I don't think I should need to if I use the special case of naming the war 'ROOT.war'.

 

Thanks,

 

Paul.

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community