- 13 Dec 2024
- 1 Minute à lire
- SombreLumière
- PDF
<object>execute SOAP Request Structure
- Mis à jour le 13 Dec 2024
- 1 Minute à lire
- SombreLumière
- PDF
An objectexecute SOAP request typically uses the following format:
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:adm="http://www.vasco.com/IdentikeyServer/IdentikeyTypes/Administration">
<soapenv:Header/>
<soapenv:Body>
<adm:????Execute>
<sessionID>session identifier string</sessionID>
<cmd>?????CMD_!!!!!!</cmd>
<attributeSet>
<!--Zero or more repetitions:-->
<attributes>
<valuexsi:type="xsd:!!!!!!">?????</value>
<attributeID>?????</attributeID>
</attributes>
</attributeSet>
</adm:????Execute>
</soapenv:Body>
</soapenv:Envelope>
The SOAP body element should only contain an objectexecute element, where object specifies the requested object (line 8). This element is defined in the namespace adm. Therefore, adm needs to be declared in the Envelope element as an attribute.
A valid objectexecute request needs to follow these additional rules:
- The objectexecute element should contain only one attributeSet element.
- The attributeSet element should contain zero or more attribute elements.
- The objectexecute element should contain one sessionID element. To get a session identifier, an administrative logon has to be executed. Alternatively, when working with service users, sessionID is constructed using the service user's credentials (see Administrative logon/logoff (SOAP API)).
- The objectexecute element should contain one cmd element.
Each attribute element should contain the following sub-elements:
- attributeID (required). The attribute identifier. The supported credential attribute identifiers are listed in SOAP authentication (Overview).
- value (required). The attribute value. This element also requires the specification of the value type using the following attribute definition xsi=type=”xsd:type.
attributeOptions (optional). This element provides directive information about how OneSpan Authentication Server should handle the attribute value during request processing. Following options are supported for this element:
- NULL. Indicates that the specified attribute should be set to zero.
- NEGATIVE. Used for search criteria to say NO when searching for a specific attribute.
- MASKED. Used to indicate OneSpan Authentication Server to mask the attribute value (e.g. when auditing the SOAP request).
To set an attribute option, add the option element in the attributeOptions element and give the option element the value true.
To set the MASKED option, add the following:
<attributeOptions><masked>true</masked></attributeOptions>