SOPERA Adapter 8.0 | webMethods SOPERA Adapter Documentation | webMethods SOPERA Adapter Installation and User’s Documentation | Adapter Services | Configuring Adapter Services | SOPERA Generic Consumer | Configuring a Service for a Specific SOPERA Service and Operation
 
Configuring a Service for a Specific SOPERA Service and Operation
This configuration is accomplished by selecting a specific SOPERA service and one of its operations that the adapter service will provide. In this case, one adapter service is required for every SOPERA service operation. In most cases, it is better to use one adapter service per SOPERA service. The SOPERA registry ensures that a valid SOPERA service with a valid operation is used. Additionally, these adapter services are more easily reused in flow services and business processes.
For this configuration, use the SOPERA Generic Consumer adapter service template to configure the parameters for the new service as described in the following procedure.
*To configure an adapter service that invokes a specific SOPERA service
1. Start Designer.
2. Right-click the package in which the service should be contained and select New > Adapter Service.
3. Select the parent namespace and type a name for the adapter service.
4. Click Next.
5. Select SOPERA Adapter as the adapter type and click Next.
6. Select the appropriate Adapter Connection Name and click Next.
7. Select the SOPERA Generic Consumer adapter template and click Finish.
The adapter service editor for the invocation service appears.
8. In the service editor, select the Adapter Settings tab at any time to confirm adapter service properties such as Adapter Name, Adapter Connection Name, and Adapter Service Template, as necessary.
9. In the service editor, select the SOPERA Generic Consumer tab and specify values in the fields, based on the type of consumer service you want to configure:
*For request-response consumer services, see Configuring Request-Response Consumer Services.
*For one-way consumer services, see Configuring One-Way Consumer Services.
*For request-callback consumer services, see Configuring Request-Callback Consumer Services.
10. From the File menu, click Save.
Using the XML schema of the SOPERA operations retrieved from the registry, the SOPERA Adapter automatically creates Integration Server input and output document types adhering to the operation’s schema.
When the adapter service is invoked, the data is automatically transformed into XML and passed to the SOPERA service. When the service returns the result, the XML is then transformed back into structured data elements that business processes, services, and clients can easily use inside Integration Server.