Configure the data mapping for the reply message on the Response tab. Use the Response Headers section to map data for the SOAP envelope header. Use the Response Parameters section to map data for the body of the SOAP message.
By default, the response message uses UTF-8 character set encoding. However, if the request message HTTP header contains a Content-Type
value, the response message uses the same encoding as the request message. Alternatively, you can override this behavior and establish a single character encoding (for all SOAP responses from the system) in a servlet initialization parameter named CharacterEncoding
for the PRSOAPServlet
. The system uses the value of that parameter in the Content-Type
of all responses.
Field |
Description |
Data Type | Select either string or XML Literal . |
Name | Enter the external name of the response header. |
Description | Enter a text description. |
Map To | If the data type of a request header is XML Literal, set the Map To value to XML ParseRule . If the data type is string, select one of the other Map To options. See the definition of the Map To field in the Request Parameters section. |
Map From Key | For descriptions of the Map From Key options, see the description definition of the Map From Key field in the Response Parameters section. |
Field |
Description |
||||||||||||
Data Type |
Select the data type of the parameter from the subset of XML schema data types supported by SOAP services. See How to complete data mapping for SOAP and dotNet services for details about data types. Select the
Select the XML Literal data type if the parameter is an XML object and you want to map the actual (literal) XML to an XML parse rule or a single-value text property. |
||||||||||||
Name |
Enter the external name of the response parameter. |
||||||||||||
Description |
Enter a text description. |
||||||||||||
Map From |
Specify the source or the type of source of the value in Pega Platform. The choices that appear in the drop-down 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 From Key |
Specify the key to locating the property or rule in the source specified in the Map From field:
|