In the New Project wizard, go to the Samples category, and you'll find a new "Web" category with one sample project, called "JAXWSClient". Click Next and then Finish. You'll have the client that is described in the NetBeans IDE 5.0 Tutorial for Web Service Clients in the Projects window. However, the tutorial describes a JAX-RPC web service client. In this case, you now have a JAX-WS web service client. They do the same, but the code is a bit different. NetBeans IDE generates different code for JAX-WS than for JAX-RPC, which is obvious since they're different web service architectures. However, post-code generation, the only difference in the implementation was that in the client, the arrays of strings had to be changed to lists. For some reason that I don't understand, JAX-WS seems to work with lists, while JAX-RPC uses arrays of strings. Or maybe that's more a difference between J2EE 1.4 and Java EE 5 than between JAX-RPC and JAX-WS.
Finally, before deploying the client, if you're behind a firewall, you'll need to set the proxy on Glassfish. Use the Runtime window (start the server, expand the server's node, right-click the JVMs node, and add the proxy host and port to the JVMOptions property and then make sure to restart the server).
If you get it up and running, you'll find that you have a web application that interacts with a spell checker web service. You type some words in the JSP's text area and then the servlet interacts with the web service to suggest alternative spellings for the words that are incorrectly spelled.