WSDL2Java should either detect errors in the files, or it should produce
valid code. Clearly in this case it is doing neither.
Please file a JIRA at http://issues.apache.org/jira/browse/AXIS2, and
include your WSDL and XSDs, as well as the command line that you are using
to invoke WSDL2Java.

Thanks.

Derek

> -----Original Message-----
> From: Jose Manuel Valladares Pernas [mailto:[EMAIL PROTECTED] 
> Sent: Friday, August 25, 2006 9:15 AM
> To: [email protected]
> Subject: Java classes generated by wsdl2java don't compile
> 
> 
> Hello,
> I have an wsdl that imports several xsd schemas and I
> used an ant task with WSDL2Java to produce the
> corresponding java clases.
> 
> I am working with axis 1.4 and java jsdk 1.5.0_06.
> 
> WSDL2Java produces the classes and no errors. But some
> of the generated classes don't compile.
> 
> One of the classes has 2 constructor methods that are
> the same. Other classes that inherite from some parent
> classes have the constructor parameters in the wrong
> order.
> 
> If you want I can send you the wsdl and the xsd files.
> They seem to be correct as they come from the OTA 
> pecification.
> 
> Have you seen this happening before?
> Any hint?
> 
> If you need more information, please, let me know.
> 
> Thank you very much for your help,
>                    Manuel Valladares
> 
> ---------------------------------------------
> - Jose Manuel Valladares Pernas
> - [EMAIL PROTECTED]
> - [EMAIL PROTECTED]
> ---------------------------------------------
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to