I have a problem when generating java classes from WSDL using JAX-RPC wscompile ANT task.
My ant script:
<taskdef name="wscompile" classname="com.sun.xml.rpc.tools.ant.Wscompile" classpathref="jaxrpc.classpath"/>
<taskdef name="wsdeploy" classname="com.sun.xml.rpc.tools.ant.Wsdeploy" classpathref="jaxrpc.classpath"/>
<wscompile
fork="true"
base="${target.jaxrpc.dir}"
server="true"
client="false"
features="documentliteral"
model="${target.jaxrpc.dir}/model.xml.gz"
debug="true"
keep="true"
verbose="true"
config="${src.main.config.dir}/jaxrpc-service-config.xml">
<classpath refid="jaxrpc.classpath"/>
</wscompile>
In my wsdl there is Date type objects, the problem is that JAX-RPC generates Calendar objects. Is there a way to set some flag or somehow to force JAX-RPC to generate Date objects?