Ant Task Wsdl2java
Ant Task Wsdl2java
-s, --server-side
Emit server-side bindings for web service
-o, --output <argument>
Output directory for emitted files
-a, --all
Generate code for all elements, even unreferenced ones
By default, package names are generated from the namespace strings in the WSDL
document in a magical manner (typically, if the namespace is of the form
"http://x.y.com" or "urn:x.y.com" the corresponding package will be "com.y.x"). If
this magic is not what you want, you can provide your own mapping using the --NStoPkg
argument, which can be repeated as often as necessary, once for each unique namespace
mapping. For example, if there is a namespace in the WSDL document called
"urn:AddressFetcher2", and you want files generated from the objects within this
namespace to reside in the package samples.addr, you would provide the following
option to WSDL2Java:
--NStoPkg urn:AddressFetcher2=samples.addr