Mapping the user name and password XML data types
To define the user name and password to be used when consuming the web service with a SOAP header, map the SOAP attributes for user name and password in the Input Mapping table of the Set Fields action. The following figure shows an example using the AR Authentication option.
Mapping authentication data types in the SOAP header — AR Authentication
(Click the image to expand it.)
For each authentication type and based on the selected WSDL, the authentication elements in the XML Data Type column change. The mapping options in the Form/Field and Mapping Info columns also change depending on the Authentication type. In general, you can use any of these methods to map the user name and password values:
- Map the XML data types to character fields in the associated form.
- Provide static values (the default XML data type).
- Use the BMC Remedy AR System user name and password of the user currently executing the filter.
You can also use a combination of these mappings. If the user name and password elements are mapped to fields, the BMC Remedy AR System server first attempts to retrieve the values from those fields. If the field values are NULL, then the BMC Remedy AR System server checks for the static value (in the default attribute) of userName and password, and uses it if present. If the mapped fields and the default values are NULL the current BMC Remedy AR System user name and password of the user executing the filter action are used.