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.
Using NB 5.5 RC1, when I try to generate client for this wsdl (from MS): http://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc?wsdl I get errors from wsimport, which may be fine, but when I try to open customization dialog, I receive attached exception, thus no customizer is shown and I cannot fix errors, cannot do WSIT customization as well.
Created attachment 34915 [details] stack trace from Edit WS Attributes
Problem in customization is that all files import some other file (and yes, the last one imports the main wsdl, only with a different namespace), thus the method in edit customizer never ends. It is allowed wsdl syntax, and can be found more frequently in MS wsdls. The method in customization should have a better check and in case it already got the same model it should get out of the recursion.
Apparently, WSDLs that have cyclical dependencies with other WSDLs are common in the Microsoft environment. Changing the priority of this to P1
The code for imported models did not consider the case of cyclical importations of WSDLs. Fixed this by checking if an imported model has already been opened. Diffs are attached.
Created attachment 34950 [details] Diff file
The fix looks good to me. Please make sure it's commited to release55_dev (and tested there), then commit to release55 asap.
v. in release55_dev branch, merge the fix also into the release55 branch, please. Thanks.
Fix has been merged to release55 branch. Thanks.
VERIFIED