I would like to have ANT script (not Maven) to generate Stub from wsdl url.I know how to do that if the file wsdl stays in my local (c drive), but not able to do that when wsdl stays remotely.
Please help.
Have you 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>