Use the wsdlLocation attribute of @WebService, pointing to a local copy of the wsdl you
would like to publish.
Here is an example:
@WebService(
| name = "Echo",
| targetNamespace = "http://tempuri.org/",
| wsdlLocation = "/WEB-INF/wsdl/service.wsdl",
| endpointInterface = "org.jboss.test.ws.interop.nov2007.wsaSoap12.Echo",
| portName = "CustomBinding_Echo1"
| )
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4104737#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...