I use Netbeans 6.7.
In the web applications project where you are trying to add a web service call to e.g. a servlet, click "New / Web Service Client" and select the project where the actual web service lives. When you click Finish, you get the error.
"wsimport doesn't support the "xnocompile" attribute"
To get round this:
In the project where you are trying to add the web service client, right-click the web service under the "Web Service Reference" sub-tree.
Select "Edit Web Service Attributes".
Click "WsImport Options" tab.
Select the xnocompile line and Remove then OK.
Right-click again on the web service under the "Web Service Reference" sub-tree.
Select "Refresh Client"
The client should now be created.
These a good tutorial about Netbeans web services