You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by srinivas thallapalli <sr...@gmail.com> on 2015/02/03 08:05:40 UTC

wsdlLocation property of Implementation class by Wsdl2Java

Hi,
Do we have any configuration property or control on wsdlLocation property of
the @Webservice annotation of the Implementation class generated by
wsdl2java tool. My requirement is I do not want to regenerate or recompile
the code when my service moves from staging machine to production machine.

Thanks



--
View this message in context: http://cxf.547215.n5.nabble.com/wsdlLocation-property-of-Implementation-class-by-Wsdl2Java-tp5753828.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: wsdlLocation property of Implementation class by Wsdl2Java

Posted by Daniel Kulp <dk...@apache.org>.
> On Feb 3, 2015, at 2:05 AM, srinivas thallapalli <sr...@gmail.com> wrote:
> 
> Hi,
> Do we have any configuration property or control on wsdlLocation property of
> the @Webservice annotation of the Implementation class generated by
> wsdl2java tool. My requirement is I do not want to regenerate or recompile
> the code when my service moves from staging machine to production machine.

There is a “-wsdlLocation” flag on the tool that can be used to specify what is stuck in that annotation and elsewhere.  In general, you can use something like “classpath:/path/to/wsdl” and it can be picked up that way.

-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com