Server Classes
Figure 12 – Generated server classes
The server-side class architecture shown above supports the common Web service request-response message pattern and the one-way, client-to-server message pattern.
The servlet processes service messages through the message handlers configured in <servicecontextname>_handlers.xml. The above diagram shows the minimum number of such handlers, <binding>Skeleton, which handles the SOAP binding, and <portType>Imp, which is the server implementation containing the business logic.
Both the binding skeleton and the service implementation derive from base classes, the library class rwsf::ServiceSkeletonBase for the binding, and the generated class <portType>Base for the implementation. By default, HydraExpress generates a sample implementation, <portType>Imp. You can implement your service by editing this file, or you can derive your own implementation class from <portType>Base. If you use a different name for your own derived class, there are a few changes you need to make to the configuration. See Using the Server Implementation.