As you can see, NetBeans automatically generates a simple "Hello World" web
service. The class-level @WebService annotation marks our class as a web service.
The method-level @WebMethod annotation marks the annotated method as a web
service operation; its operationName attribute defines the name of the web service
operation. This is the name to be used by the web service clients. The @WebParam
annotation is used to define the properties of the web service operation parameters.
In the generated web service, the name attribute is used to specify the name of the
parameter in the WSDL that is generated when the web service is deployed.
NetBeans allows us to modify our web services via a graphical interface. We can
simply add and/or remove web service operations and parameters by pointing
and clicking on them, and the corresponding method stubs and annotations are
automatically added to our web service's code. To access the graphical web service
designer, we simply need to click on the Design button in the top-right corner of
the web service source code.