LibraryToggle FramesPrintFeedback

Figure 3.1 shows an overview of the files required to implement and build the CustomerService Web service using the WSDL-first approach.


To implement and build the WSDL-first example shown in Figure 3.1, starting from scratch, you would perform the following steps:

  1. Create the WSDL contract.

  2. Generate the Java stub code from the WSDL contract using a WSDL-to-Java converter, ws2java. This gives you the SEI, CustomerService, and its related classes, such as Customer.

  3. Write the implementation of the SEI, CustomerServiceImpl.

  4. Instantiate the Web service endpoint, by adding the appropriate code to a Spring XML file.

Comments powered by Disqus