Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web services Error
Message
From
04/11/2001 14:13:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Web services Error
Miscellaneous
Thread ID:
00577212
Message ID:
00577212
Views:
44
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
Next
Reply
Map
View

Click here to load this message in the networking platform