Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UT Web Service
Message
From
19/10/2003 20:31:26
John Tomblin
Service Station Systems, Inc.
San Jose, California, United States
 
 
To
All
General information
Forum:
Level Extreme
Category:
Other
Title:
UT Web Service
Miscellaneous
Thread ID:
00840148
Message ID:
00840148
Views:
17
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?
Next
Reply
Map
View

Click here to load this message in the networking platform