Using the MDW RPC Web Service Adapter Activity

Note: This implementor is used to consume RPC-style web services that use a specific WSDL.
For a general-purpose adapter which can consume services using other WSDL's, refer to the Document Web Service Adapter activity.

The class com.centurylink.mdw.workflow.activity.MdwRcpWebServiceAdapter implements an adapter that can be used to invoke standard MDW web services, which has a single port named invokeWebService which takes two arguments: the first is a service name (which is passed to the listener of the receiving end as meta data and is not typically used), and the other is an XML request data in Java String format. The return value is an XML response data in string format as well:

     String invokeWebService(String service, String request)
             throws AdapterException;
The new implementor supports usage in connection pools (see Using Adapter Activities for introduction on poolable adapters), and it allows to configure automatic retries with the activity.

Important note: with the new (poolable) implementor, you should not use the retry loop (a link to itself with the label ERROR:RETRY) for the old implementor.

Attributes

The following attributes are used by both implementors (old and new):

The following additional attributes are supported by the new implementor only:

Extending the (Poolable) Implementor

Refer to Using Adapter Activities for documentation on extending poolable implementor in general.

The following lists some potential needs of customization and how they can be achieved:

Extending the Old Implementor

If your customization needs cannot be completely met by the attributes above, you can consider subclassing this implementor. Refer to this link for description of overridable methods. Additionally, you can override the methods implemented in this class, which include: Refer to the class's javadoc for more details.