Connect dotNet form – Completing the Request tab

Configure the data mapping for the outgoing SOAP message on the Request tab. Use the Request headers section to specify the data needed (if necessary) for the SOAP envelope header. Use the Request parameters section to specify the data for body of the SOAP message.

Important: Connect dotNet rules are no longer being actively developed, and are being considered for deprecation in upcoming releases. Using Connect dotNet rules does not follow Pega development best practices. Use Connect SOAP rules instead. For more information, see About Connect SOAP rules.

The data types of the outgoing parameters can be any of the primitive data types specified in the W3C XML Schema standard. If you used Connector and Metadata wizard to generate the connector rules and the WSDL file you identified defines its own complex types, the data type for the parameter is XML Page, indicating that the outgoing parameter is an XML object.

Request Headers

Use this section to map values for SOAP headers. The data type of a SOAP header is an element (an instance of the W3C DOM object org.w3c.dom.Element ). The value of a SOAP header must be well-formed, namespace-qualified XML, typically generated by an XML Stream rule. If your application requires SOAP headers that conform to a WS-Security format rather than using HTTP Basic authentication, you can define that header content here.

  • If the Applies To class of the XML Stream rule is the same as the Applies To class of the connector rule, you can create a data mapping that specifies the XML Stream rule in this section.
  • If the Applies To class of the XML Stream rule is different from that of the connector rule, call the XML rule from the connector activity and then create a data mapping for the property that holds the stream in this section.

See also Pega Community article How to map a SOAP Header in the request message of a SOAP connector.

Request headers

Field Description
Name Enter the external name of the SOAP request header.
Description Enter a text description.
Map from XML Stream is the only option. Information for a SOAP request header must be a W3C DOM object generated by an XML Stream rule.
Map from key Enter the Stream Name — second key part — of the appropriate XML Stream rule. The system uses the Applies To class of this SOAP connector rule as the first key part of the rule.

Request Parameters

Field Description
Data type Select the XML schema data type of the external value you are mapping. 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 XML Page data type indicates that the parameter is an XML object with a schema described by the data transform specified on the Advanced tab and that this connector rule was generated by the Connector and Metadata wizard. You cannot use the XML Page data type for a connector rule that you created without using the Connector and Metadata wizard.

Select the XML Literal data type if the parameter is an XML object and you want to map the actual (literal) XML from an XML stream rule or from a single-value text property. In this case, specify Axis2 on the Advanced tab. For more information, see More about SOAP Connectors.

If the SOAP operation style is document-literal and you are creating this rule manually, you can either specify simple argument-property mapping entries for the values in the message or use the XML Literal data type.

Name Enter the external name of the request parameter.
Description Enter a text description for this row.
Map from Specify the source or the type of source of the value in Pega Platform. The choices that appear in the selection list depend on the data type specified in the Data type field:
  • Clipboard — The source is a property on the clipboard.
  • Constant — The source is a fixed value that does not change.
  • XML Stream — The source is a stream of XML data formatted by an XML Stream rule.
  • HTML Stream — The source is a stream of HTML data formatted by an HTML rule.

If more choices appear, they each identify a custom function rule in a MapFrom library. Review the function rule to determine what it does.

Map from key Specify the key to locating the property or rule in the source specified in the Map from field:
  • If you map from Clipboard, enter the name of the property. The name can include the name of the clipboard page or a keyword that specifies the clipboard page reference that is the source of the data. If the Connector and Metadata wizard set the data type to XML Page, the property is a Page mode property.

    You can use a linked property reference to identify the property containing the value.

  • If you map from Constant, enter a literal text string. To include blank spaces in your text string, surround the string with double quotation marks.
  • If you map from XML Stream, enter the Stream Name (second key part) of the appropriate XML Stream rule. The system uses the Applies To class of this connector rule as the first key part of the XML rule.
  • If you map from HTML Stream, enter the Stream Name (second key part) of the appropriate HTML rule. The system uses the Applies To class of this connector rule as the first key part of the HTML rule.
  • If you map from a function rule from a MapFrom library, either select the property that holds the value to be processed by the function or leave this field blank, as appropriate for the function.