This step must be performed before you can access any Bank Wizard service. The procedure you must follow is the same for every Bank Wizard service.
|
Do you have a WASP token?Before you can use Bank Wizard, you must be authenticated using the WASP authentication service. To do this, you need to supply a valid WASP security token. You can use the same token regardless of the Bank Wizard service you are calling. Therefore, typically you only need to request a token at the start of the working day. Connect to WASP to request a tokenIf you do not have a valid token, you must contact WASP for authentication, attaching the WASP certificate containing the relevant credentials. This is supplied by Experian and is used to authenticate and identify you with the WASP service.
Once you have been authenticated, WASP will supply you with a security token that you can then use to authenticate yourself with Bank Wizard. You can use each token for multiple calls, so make sure you retain the token.
|
To access Bank Wizard you navigate to the URL supplied to you by Experian. Your request must include the security token returned by the WASP service. This is used by the Enforcer for authentication.
The security tokens have limited lifetimes and can expire if the:
If the token has expired or is invalid, the HTTP status code 401 is returned. Therefore to test for token expiry, check for this status code.
catch(WebException wex)
{
httpWebResponse res = (httpWebResponse) wex.Response;
if (res.StatusCode == HttpStatusCode.Unauthorized)
Once you have been successfully authenticated, Enforcer provides access to Bank Wizard so that you can perform validation or verification.
hostedService.RequestSoapContext.Security.Tokens.Add(newWASPToken(token));
hostedService.RequestSoapContext.Security.MustUnderstand = false;
For more information about WASP, see the Experian WASP documentation