6 Replies Latest reply on Sep 14, 2006 1:02 PM by Thomas Diesler

    WSTools Is Generating Invalid Java Source

    Jimmy Wilson Apprentice

      I have some WSDL from a non-Java web service that contains elements that have dashes in their names. For example:

       <element name="var-name-ex" type="xsd:string"/>

      This produces Java code with variable names that have hyphens in them (one named var-name-ex), and this will not compile as hyphens are not allowed in variable names. The WSTools configuration schema does not appear to support a way to adjust this either.

      Does anyone have any ideas that I could use to work around this issue?