After getting the security token, you use it to access Bank Wizard. You add the token to the SOAP header of the request contained within a BinarySecurityToken element. The tokens must be base 64 binary encoded and the EncodingType set to Base64 binary encoding. ValueType specifies what type of token is being used and must be set to ExperianWASP. The ID is an optional string label.
<wsse:BinarySecurityToken ValueType="ExperianWASP" EncodingType="wsse:Base64Binary" wsu:Id="SecurityToken"> MjAtRTctQ0YtMTUtN0EtODEtNTk... </wsse:BinarySecurityToken> |
<soap:Header> <wsse:Security> <wsu:Timestamp wsu:Id="Timestamp-2b27a32b-ca9c-4405-b377-4444f63c8f29"> <wsu:Created>2014-02-20T16:36:54Z</wsu:Created> <wsu:Expires>2014-02-20T16:41:54Z</wsu:Expires> </wsu:Timestamp> <wsse:BinarySecurityToken ValueType="ExperianWASP" EncodingType="wsse:Base64Binary" wsu:Id="SecurityToken-f675">MjAtRTctQ0YtMTUtN0EtODEtNTk.</wsse:BinarySecurityToken> </wsse:Security> </soap:Header> <soap:Body> <! -- SOAP content for the Bank Wizard service call -- > </soap:Body> |