The process of creating Web services is automated by the Web Service Creation Wizard in the Dynamo Administration UI. This wizard guides you through the steps of selecting a Nucleus component and method, specifying input parameters and other settings; it then automatically creates the Web service by performing the following steps:
Create the service endpoint interface that specifies the method to be exposed.
Create the service endpoint class that implements the service endpoint interface and is responsible for handing incoming SOAP requests.
Create the WSDL document that describes the resources required by the service endpoint class, as well as its inputs and outputs.
Create the
web.xml
file for the Web application that the service is a part of.Create the JAX-RPC deployment descriptor (
webservices.xml
) and mapping file.Build the runtime classes.
Package these elements in a JSR 109 compliant EAR file.
These steps are described in more detail in the Anatomy of a Web Service section.
The wizard uses the component /atg/webservice/WebServiceGenerator
to perform the actual work of generating the service. This component, which is of class atg.webservice.WebServiceGeneratorImpl
, performs all of the operations listed above, either through its own methods or through other components it refers to.