[jboss-user] [JBossWS] - WSTools Is Generating Invalid Java Source

jiwils do-not-reply at jboss.com
Thu Aug 24 17:50:49 EDT 2006


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

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

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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967359#3967359

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967359



More information about the jboss-user mailing list