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