Hi,
I generate java-classes with wsdl2java (from cxf-2.7.3-package, called via
ant-task), but the generated comments are in German language. How is it
possible to change the language of the generated java-sources (I want them to
be in English)? I could not find any option/switch to change this behaviour in
wsdl2java. Is there a global option or something else that I might have
overseen?
My current ant-target:
<target name="cxfWSDLToJava">
<java classname="org.apache.cxf.tools.wsdlto.WSDLToJava"
fork="true">
<arg value="-client" />
<arg value="-verbose" />
<arg value="-d" />
<arg value="src/main/java" />
<arg value="-p" />
<arg value="de.cib.myPackage" />
<arg value="MyTestService.wsdl" />
<classpath>
<path refid="cxf.classpath" />
</classpath>
</java>
</target>
Example-snippet (from the currently generated java files):
...
/**
* <p>Java-Klasse für anonymous complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser
Klasse enthalten ist.
*
...
Expected Result:
...
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained
within this class.
*
...
Thank you very much in advance for your answer!
Best regards,
Christoph Lutz