You use the Version service to retrieve:
You should call this service once as part of the startup routine for your application to make sure all of the licensed countries have initialised correctly.
This example code calls the Version service and then displays a message to show whether the call was successful.
/* Call the Version service */ VersionRequest versionRequest = new VersionRequest(); versionRequest.setClientInformation(clientInformation); /* Check for a response */ VersionResponse versionResponse = port.coreVersionRequest(versionRequest); if (versionResponse != null) { /* If the call was successful, display successful message */ System.out.println("Version Data retrieved"); /* Display the data returned (country, table date and software version) */ } else { /* If the call was NOT successful, display an error message */ System.out.println("NO Version Data retrieved"); } |
<soapenv:Body>
<typ:VersionRequest>
<typ:ClientInformation>
<typ:UserID>TEST_CLIENT</typ:UserID>
<typ:WSDLVersion>1.0</typ:WSDLVersion>
</typ:ClientInformation>
</typ:VersionRequest>
</soapenv:Body>
This response returns the version of the four software libraries, and the table information for two licensed countries, Germany and the United Kingdom.
<soapenv:Body>
<VersionResponse xmlns="urn:experian/BANKWIZARD/soapservice/types">
<DllVersionData>
<fieldname>eigeru</fieldname>
<fieldvalue>1.0.0034</fieldvalue>
</DllVersionData>
...
<DllVersionData>
<fieldname>eigerl</fieldname>
<fieldvalue>1.0.0041</fieldvalue>
</DllVersionData>
<DtfVersionData>
<fieldname>DE</fieldname>
<fieldvalue>Germany : bwide.tbl : 20/05/2008</fieldvalue>
</DtfVersionData>
<DtfVersionData>
<fieldname>MAIN</fieldname>
<fieldvalue>None : bwimain.tbl : 13/05/2008</fieldvalue>
</DtfVersionData>
<DtfVersionData>
<fieldname>GB</fieldname>
<fieldvalue>United Kingdom : bwiuk.tbl : 13/05/20087</fieldvalue>
</DtfVersionData>
</VersionResponse>
</soapenv:Body>