UT provides the following sample code to use their web service:
* Create the SOAP object
loUniversalThread=Createobject("mssoap.soapclient30")
loUniversalThread.mssoapinit("
http://www.levelextreme.com/WebService/universalthread.asmx?WSDL")
lcUsername='something'
lcPassword='something'
* Do the login
loUniversalThread.Login(lcUsername,lcPassword)
* Call a method
* Get the message for one day
lcXML=loUniversalThread.GetMessage(DATE())
When I use my username and password, the login is successful. But the list line of code produces the following error:
OLE IDispatch code exception 0 from client.
Client.Incorrect number of parameters supplied for SOAP
request HRESULT=0x80070057; The parameter is
incorrect.
What is wrong? Is the sample code incorrect?