Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unknown COM status code
Message
De
23/10/2001 19:26:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
Unknown COM status code
Divers
Thread ID:
00572375
Message ID:
00572375
Vues:
54
I have created a simple Web Service. The Visual FoxPro code is pretty simple:
DEFINE CLASS myserver as Session olepublic

function mymethod(mystr as String) as String
RETURN mystr
endfunc

function hello as String
RETURN "hello"
ENDFUNC

ENDDEFINE
The WSDL has been created by the WSDL generator. The two files have been created. You can view it at: http://205.205.57.3/WebServices/universal%20thread.wsdl

From the client site, I am using this:
loUniversalThread=Createobject("mssoap.soapclient")
loUniversalThread.mssoapinit("http://205.205.57.3/WebServices/universal thread.wsdl")
*? loUniversalThread.mymethod("test")
*? loUniversalThread.hello
However, when calling a method, I get unknown COM status code.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform