Felipe Gaúcho wrote:
> are you using WsImport with Maven or ANT ?
>
>
I'm not using Wsimport, I'm invoking the schema compiler via the xjc Ant
task.
Here is the Ant call:
<xjc schema="${ts.home}/lib/dtds/sun-application_6_0-0.dtd"
binding="${ts.home}/src/${porting.package.dir}/jaxb-cust.xml"
target="${ts.home}/src"
package="${porting.package}.app">
<arg value="-dtd"/>
<depends dir="${ts.home}/lib/dtds"
includes="sun-application_6_0-0.dtd"/>
<produces dir="${ts.home}/src/${porting.package.dir}/app"
includes="**/*"/>
</xjc>
Here is my original binding file:
<?xml version="1.0" ?>
<xml-java-binding-schema xmlns:xjc="
http://java.sun.com/xml/ns/jaxb/xjc">
<xjc:serializable uid="1" />
</xml-java-binding-schema>
The schema compiler actually compiles the DTD using this code but the
Serializable interface is not in any of the generated Java classes.
I'm stumped.