Advantage Finance XML Developer's Site

Here is the documentation for the dll. [DLL]

Name Type Read/Write
URL Property Read-only
XML Property Read/Write
ReturnedXML Property Read-only
ApplicationID Property Read-only
ErrorNumber Property Read-only
ErrorDescription Property Read-only
ErrorSource Property Read-only
SendApplication Method  

The way to use is as follows:

  1. Declare a new instance of the dll.
    eg. In VB6: Dim MyXMLSoap as New AdvantageXMLSoapApplication.XMLSoap
  2. Set an url to send the xml to.
    eg. MyXMLSoap.URL = "https://www.advantage-finance.co.uk/xml/soap/test/TestXMLSoap.asp"
  3. Set the XML string to a valid piece of XML.
    eg. MyXMLSoap.XML = strMyXMLString
  4. Call the SendApplication method.
    eg. MyXMLSoap.SendApplication
  5. Check for an error.
    eg. If MyXMLSoap.ErrorNumber <> 0 Then ...etc
  6. If no error present, retreive Application ID.
    eg. strAppID = MyXMLSoap.ApplicationID

If you wish to, you can also retreive the sent and returned xml by using .XML and .ReturnedXML respectively for debugging purposes.