Home
Resources generated by the Web Service client wizard
Figure | 8-17 shows the generated Web services client artifacts.
![]()
Figure 18-17 Web service client artifacts
![]()
Bank.java is the annotated service interface based on the WSDL to Java mapping.
![]()
BankService.java is generated from the WSDL service. It is a factory class that returns an instance that implements the service's interface. In JAX-RPC, this implementation class is called a stub. In JAX-WS, no stub class exists; the stub is a class dynamically generated from WSDL.
![]()
BankPortProxy.java is an IBM-proprietary proxy class. JAX-WS does not define this class. It is a convenience class that implements the Web service's interface and hides programming details such as the service factory and binding provider calls.
![]()
The rest of the Java classes are the JAXB artifacts based on the schema types used by the WSDL.
![]()
The sampleBankPortProxy folder contains the generated sample JSPs, which demonstrate how to invoke Web services proxy.
![]()
web.xml is the standard Web deployment descriptor, and it contains the JSR 109 1.2 Web service deployment information (<service-ref> tag).
ibm.com/redbooks