Connect dotNet form – Completing the Response tab
Configure the data mapping for the reply from the external Web service on the Response tab. 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 reply to 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 own complex types,
the data type for a response parameter is set to 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 an XML parse 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 |
XML ParseRule is the only option. Information from a SOAP response
header must be mapped to a Parse XML rule. |
Map To Key | Enter the Namespace and Element names (second and third key parts) to 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. |
Response 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. 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:
|