[jboss-user] [JBossWS] - Re: how to publish my own wsdl

alessio.soldano@jboss.com do-not-reply at jboss.com
Wed Nov 14 13:42:03 EST 2007


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#4104737

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104737



More information about the jboss-user mailing list