Please install the NetBeans 6 M9 and GlassFish V2 b49 or use the NetBeans 6 M9 to bring your own SUN Java System application Server 9
Create a new Web project: File > New Project > Web Category > Web Application > WebApplication1
Right-click on the new WebApplication1, select New > Web Services ...
Create a Hellowebservice Web Service name and package name,
Click ' Add Operation ' in the designer to create the SayHello method name, and the return value is: java.lang.String
Click WebApplication1 Right and choose ' Deploy Project ' after successful deployment, at which point you can access the WSDL:
http://localhost:8080/WebApplication1/HelloWebServiceService?wsdl
Click the Hellowebservice Right button and choose ' Test Web Service '
Http://localhost:8080/WebApplication1/HelloWebServiceService?Tester
Enter the Huihoo, which returns the word Huihoo
Because there are some issue, so to modify a place: Hellowebservice.java, similar
public String sayHello(@WebParam(name = "name")
String name) {
return name;
}