Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UT Web Service
Message
De
19/10/2003 20:31:26
John Tomblin
Service Station Systems, Inc.
San Jose, Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
Level Extreme
Catégorie:
Autre
Titre:
UT Web Service
Divers
Thread ID:
00840148
Message ID:
00840148
Vues:
18
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform