Two approaches can be used to develop web service endpoints and clients: implementation-first and WSDL-first.
In the implementation-first approach, you start with an endpoint and generate the WSDL document and skeletons from it.
In the WSDL-first approach, you can begin by first generating the server-side skeletons from the WSDL document. After the skeletons have been developed, you can generate the stubs.