Friday, 15 July 2011

how to use CXF and ANT to generate Stub from nonlocal wsdl url -



how to use CXF and ANT to generate Stub from nonlocal wsdl url -

i have ant script (not maven) generate stub wsdl url.i know how if file wsdl stays in local (c drive), not able when wsdl stays remotely.

please help.

have tried this?

<target name="cxfwsdltojava"> <java classname="org.apache.cxf.tools.wsdlto.wsdltojava" fork="true"> <arg value="-client"/> <arg value="-d"/> <arg value="src"/> <arg value="http://somehost.com/service?wsdl"/> <classpath> <path refid="cxf.classpath"/> </classpath> </java> </target>

url wsdl cxf stub

No comments:

Post a Comment