A web service client is created to consume (that is, use) a specific web service.
The way in which a web service client consumes a web service depends on the way in which the provider makes the web service available:
The provider publishes the WSDL file
of a running web service.
The provider distributes a WSDL file, which is available to you on your local filesystem.
The provider distributes a NetBeans project that defines the web service, for
deployment to a test container.
For detailed information, refer to the full specifications: