As mentioned above, the Web Service Creation Wizard automatically performs a number of tasks, greatly simplifying the creation of Web services from Nucleus components. The wizard enables you to simply create Web services and begin using them, without needing to understand all of their underpinnings. However, in some cases you may need to troubleshoot or make changes to your Web services, so it is helpful to have some familiarity with their form and packaging. This section discusses the various pieces that make up a Web service, including:
service endpoint interface and implementation class
WSDL document
web.xml
fileJAX-RPC deployment descriptor (
webservices.xml
) and mapping fileruntime classes
JSR 109 compliant EAR file
Note that the business logic of the Web service is actually contained in the method of the Nucleus component that is being exposed. The Web service handles only the RPC infrastructure, and passes the actual processing to the Nucleus component.