Lead your team forward
OCT 24 / 9AM ET Register nowService Mapper Component
The Service Mapper component uses ONE Runtime Server to deploy SOAP online web services on the specified endpoint. The component adds the Service Mapper section to the ONE Runtime Server Admin, providing a list of running services and receivers.
The component is not supported for other use cases since v12. To deploy online services, use Online Services Component instead. |
The services are defined by an XML configuration file *.serviceDefinition
and optional SOAP WSDL file.
SOAP services create responses by calling other services.
Responses can be transformed and combined using XSL transformation. Each service usually has an input and output XSL transformation. The component supports multiple formats of SOAP services, for example, HTTP or JMS.
To enable the component, add the following definition to the server configuration.
<serverComponents>
<component class="com.ataccama.adt.pme.server.ServiceMapperComponent">
<!-- Debugging -->
<debugLogger class="com.ataccama.adt.pme.debug.FileLogger">
<dir>../pme/log</dir>
</debugLogger>
<!-- location of service definition files -->
<configFolder>../pme</configFolder>
<!-- receivers -->
<receivers>
<receiver class="com.ataccama.adt.pme.core.receivers.GroupingSoapReceiver">
<!-- listener -->
<listenerNames>default</listenerNames>
<!-- location -->
<location>/pmews</location>
<services>
<service name="ws" soapAction="ws"/>
</services>
</receiver>
<receiver class="com.ataccama.adt.pme.core.receivers.GroupingSoapReceiver">
<listenerNames>default</listenerNames>
<location>/pmews2</location>
<services>
<service name="ws2" soapAction="ws2"/>
</services>
</receiver>
</receivers>
</component>
</serverComponents>
Property | Required | Description |
---|---|---|
debugLogger |
No |
Stores intermediate results into the defined location. Possible implementations:
The Debug Logger is a synchronous logger and contains all the details of the request processing, that is, the input and output of each step defined in the service definition. Therefore, it is very slow and should be enabled only for debugging purposes. |
configFolder |
Yes |
Path to the directory containing the service definition file. The path can be either relative to the server configuration file or absolute. |
receivers |
Yes |
The receiver listens for each service on the address defined in the Listener Names section. Possible implementations:
For each receiver, define the following properties:
|
Was this page useful?