This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I tried to generate WS client using NB5beta - WSDL file used some referenced schemas, so I wanted to know if NB5beta can handle this. The generation failed, see details in attached file.
Created attachment 26827 [details] copy of messages.log
Could you also provide link to wsdl you used or at least attach wsdl to this report, please?
Created attachment 26919 [details] wsdl with referenced schemas, that caused the error
Use xsd:schema import instead of wsdl:import : <wsdl:types> <xsd:schema> <xsd:import schemaLocation="cmbmessages_modified.xsd" namespace="http://www.ibm.com/xmlns/db2/cm/beans/1.0/schema"/> </xsd:schema> </wsdl:types> I don't know if wsdl:import is correct for importing schema files.
When I changed the import part I got the error from wscompile. (See the attached errors) Are the namespaces correctly specified ?
Created attachment 26933 [details] Errors from wscompile
I am marking the issue as WONFIX as we won't support importing schemas by <wsdl:import ...> that is not WSI-BP compliant - see the error message from wscompile.
When I fixed errors in XML schemas I got the client. See attached files.
Created attachment 26969 [details] Corrected WSDL and XML Schemas
v.