This thread may help you

http://www.nabble.com/jaxws%3Aendpoint-wsdlLocation-attribute----form-for-class-path-reference--tf3684247.html#a10298620

James

Is there a way to specify a relative location for the wsdl using the
wsdlLocation attribute?

Example:

@WebService(endpointInterface="org.test.something.wsdl.person.PersonService",
                        portName = "PersonPort",
                        serviceName = "PersonService",
                        targetNamespace = 
"http://something.test.org/wsdl/Person";,
                        wsdlLocation = "WEB-INF/wsdl/PersonService/Person.wsdl")

(this works for metro)

I'm running CXF inside Tomcat.

I tried placing it in the classpath and it didn't seem to work.

Thanks

Reply via email to