Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web services Error
Message
De
04/11/2001 14:13:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Web services Error
Divers
Thread ID:
00577212
Message ID:
00577212
Vues:
43
Hi All:

I've gotten tantalizingly close to publishing my first web service on my local server. When I invoked it as a COM server, it worked. To whit:

In a project 'automat', I placed a program 'mycom' that does this:

DEFINE CLASS person AS CUSTOM OLEPUBLIC
FirstName = SPACE(30)
LastName = SPACE(45)

PROCEDURE GetName
this.firstname = 'Joe'
RETURN THIS.FirstName + " " + THIS.LastName
ENDPROC
ENDDEFINE

Then I ran a program 'test' that does this:

oTest = CREATEOBJECT("automat.person")
cName = oTest.GetName()
? cname

'Joe' was displayed. So far so good.

I then published it on my local server and then registered on intellisense, generating the following code:

LOCAL oPerson as person web service
LOCAL loWS
loWS = NEWOBJECT("Wsclient",HOME()+"ffc\_webservices.vcx")
loWS.cWSName = "person web service"
oPerson = loWS.SetupClient("http://DESKTOP1/WebServices/person.WSDL", "person", "personSoapPort")

cc = oPerson.GetName()
? cc

When I tried to run, I got


Program Error
Cancel
Suspend
Ignore
Help
OLE error code 0x800a13be: Unknown COM status code.

Where is the best resource to check these errors?

Thank you,

Yossi
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform