If you are using NetBeans milestone 10, perhaps you have seen this error: "Fail to load schema types from" and then a file path pointing to the WSDL you're trying to generate a test case for.
If you are working with the Glassfish ESB you might want to create a test case to ensure that, say, your BPEL process is invoked. Everything could be set up properly, but when you try to create the test, NetBeans won't let you. If you're new to the stuff, you could think the problem is on your end--it's not.
The thread at http://www.nabble.com/Error:-Fail-to-load-schema-types-t3317880.html indicates that this was a bug in NetBeans several months ago, but has since been fixed.
The whole story is that this was a bug in NetBeans 6.0 milestone 8, got fixed in milestone 9, and got broken again in milestone 10. So how do you work around it if you're using the latest version of NetBeans 6 (milestone 10)?
The workaround posted at that site is not ideal because while you can get through the wizard by commenting out the schema imports, your test SOAP envelope will be empty, because you've dereferenced your schemas, so what's the point.
The way I got around it is to use NetBeans 6 milestone 9 to generate the test case, because it doesn't have the bug. Then I can execute the tests normally in Milestone 10 after they've been created.