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:
- Declare a new instance of the dll.
eg. In VB6: Dim MyXMLSoap as New AdvantageXMLSoapApplication.XMLSoap
- Set an url to send the xml to.
eg. MyXMLSoap.URL = "https://www.advantage-finance.co.uk/xml/soap/test/TestXMLSoap.asp"
- Set the XML string to a valid piece of XML.
eg. MyXMLSoap.XML = strMyXMLString
- Call the SendApplication method.
eg. MyXMLSoap.SendApplication
- Check for an error.
eg. If MyXMLSoap.ErrorNumber <> 0 Then ...etc
- 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.