You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by gtaylor <gp...@umd.edu> on 2007/11/27 19:04:03 UTC

Relative WSDL Location

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 
-- 
View this message in context: http://www.nabble.com/Relative-WSDL-Location-tf4883399.html#a13976218
Sent from the cxf-user mailing list archive at Nabble.com.


Re: Relative WSDL Location

Posted by James Mao <ja...@iona.com>.
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 
>