Connect SOAP form - Completing the Response tab
SOAP Connector Form – Completing the Response tab
Use the Response tab to configure the data mapping for the reply from the external Web service. Use the Response Headers section to map the data needed (if any) from the incoming SOAP envelope header. Use the Response Parameters section to specify how to map the data from the body of the reply message to Pega Platform properties.
The data types of the incoming parameters can be any of the primitive data types specified
in the W3C XML Schema standard. If you used the Connector and Metadata wizard to
generate the connector rules and the WSDL file you identified defines its complex types, the
Data Type for a response parameter is XML Page
. This indicates that the
incoming response parameter is an XML object.
Soap Envelope content
Field | Description |
---|---|
Target Property | Optional. Specify the name of a Single Value text property to
hold the entire contents of the SOAP response. You use this field when you need to
store the original SOAP message with the work item, perhaps for an auditing or
history purpose. |
Response Headers
Use this section to map values for SOAP headers in the response. The data type of a SOAP header is an element (an instance of the W3C DOM object org.w3c.dom.Element) and the contents must be processed by a Parse XML rule.
- If the Applies To class of the Parse XML rule is the same as that of the connector rule, you can create a data mapping that names the parse rule in this section.
- If the Applies To class of the Parse XML rule is different from that of the connector rule, map the value to a single value text property in this section, and then configure the connector activity to call the Parse XML rule.
The SOAP envelope in the response must contain a namespace. See also PDN article How to map a SOAP Header in the request message of a SOAP connector.
Field | Description |
---|---|
Name | Enter the external name of the SOAP response header. |
Description | Enter a text description. |
Map To | Do one of the following:
|
Map To Key | Enter the Namespace and Element names (second and third key parts) of the
appropriate Parse XML rule, separated by a period. The system uses the Applies To
key part of this SOAP connector rule as the first key part of the Parse XML rule.
Do one of the following
|
Resposne Parameters
Field | Description |
---|---|
Data Type | Select the XML schema data type of the parameter value. Select any primitive
data type in the W3C XML Schema standard. See How to complete mapping details for SOAP and dotNet connectors for details
about data types. The Select the |
Name | Enter the external name of the parameter. |
Description | Enter a text description. |
Map To | Specify the destination or type of destination for the value in Pega Platform. The choices that appear in the selection list are
dependent on the data type specified in the Data Type field:
If more choices appear, they each identify a custom function rule in a
|
Map To Key | Specify the key to locating the property or rule in the destination specified
in Map To field:
|