Creating a web service from an existing WSDL
Normally, creating SOAP web services requires the creation of a WSDL file. The
process of creating a WSDL is complex and error-prone, but thankfully Java EE
frees us from having to create a WSDL file by hand; it gets generated automatically
whenever we deploy a web service into our application server.
However, sometimes we have a WSDL file available and we need to implement its
operations in Java code. For these cases, NetBeans provides a wizard that creates a
Java class with method stubs from an existing WSDL.
In order to do so, we need to create a new file, select the Web Services category, and
select Web Service from WSDL as the file type.