I successfully applied my SOAP-connect and when I traced it, I can see the result of the expected response in the xmlStream, but, my question is how to map this response to the clipboard, so, I can use it in a local variable for example?
***Updated by moderator: Lochan to add Category***
Specify the destination or type of destination for the value in Pega 7 Platform. The choices that appear in the selection list are dependent on the data type specified in the Data Type field:
Clipboard — The destination is a property on the clipboard.
XML ParseRule — The incoming data is a stream of XML to be parsed by a Parse XML rule.
Delimited ParseRule — The incoming data is in a delimited format to be processed by a delimited parse rule.
Structured Parserule — The incoming data is in a flat file that has a fixed format with fixed length field, to be processed by a structured parse rule.
If more choices appear, they each identify a custom function rule in a MapTolibrary. Review the function rule to determine what it does.
Map To Key
Specify the key to locating the property or rule in the destination specified inMap To field:
Enter the name of the property name to map the data to. Click the Open icon to review the property.
XML Parse Rule
Enter the Namespace name (second key part) and theElement Name name — third key part — of the appropriate Parse XML rule. Separate the Namespace from the Element Name with a space. That is, use the syntax "NamespaceName ElementName" and not "NamespaceName.ElementName." The system uses the Applies to class of this connector rule as the first key part of the parse rule.
Note: To maintain backward compatibility for connector rules created in releases before PRPC Version 5.2, you can specify a data mapping with only a Namespace value. In that case, the system at runtime determines the Element Name key from the root element of the incoming XML document. However, this mapping works only if the Parser Type of the Parse XML rule is set to DOM and validation is not enabled. As a best practice, specify both the Namespace Name and the Element Name of the rule.
Enter the Namespace and Record Type names (second and third keys) of the appropriate delimited parse rule. The Applies To class of this connector rule is the first key to the parse rule.
If the Map To value is, enter the Activity name (second key) of the appropriate structured parse rule. The Applies To class of this connector rule is the first key to the parse rule.
a Rule-Utility-Function from aMapTolibrary
Either select a property to hold the results of the function or leave this field blank, as appropriate for the function.
My generated Connect SOAP(attached) have as response Parse XML (attached). It is also generated from connect and Data Mappings. How to parse the xml in my activity after calling Connect-SOAP ? Sorry for asking too much questions , but, it is my first exercise with integration.
Thnhx in advance,
Posted: 7 years ago
Posted: 9 Aug 2016 9:44 EDT
Rajeev Ranjan (ranjr)
Principal Technical Solutions Engineer
Thanks a lot Rajeev for your quick reply. It is a great idea, but, I didn't find the activity that called this Connect SOAP, so, I can see how mapping is done as inside Response tab of this connector, I have the same config if you check my previous attachments. Can you please give me the activity name as I cannot find it in "View References"?