_Eric_ wrote:
>
> I generated my service classes with implementation in contract first
> manner by Maven2. The implementation has an annotation
> @javax.jws.WebService where the property wsdlLocation is set to the
> absolut path of my WSDL. As long as I develop on my machine everything
> went fine, but when I put it on an other host this path is, needless to
> say, wrong.
>
> How can I give the correct WSDL location or better let the service
> generate the correct WSDL?
>
>
The -wsdlLocation parameter can be used to specify the URL to generate into
the code to make sure it is valid at deployment time. An empty space for the
parameter value will stop the wsdl location parameter being generated at at.
Unfortunately the currently releases of the maven-codegen-plugin cannot
handle an empty extraarg if you want to be able to do that you need to get
the latest version from SVN.
Dave
--
View this message in context:
http://www.nabble.com/wasdlLocation-FileNotFoundException-tp18377615p18380227.html
Sent from the cxf-user mailing list archive at Nabble.com.