Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unknown COM status code
Message
From
24/10/2001 22:34:34
 
 
To
24/10/2001 11:27:40
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00572375
Message ID:
00573009
Views:
30
>>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.
>
>Is the COM server registered? Is the dll in a directory where the web user has permission to execute it?

We found that the cause of this is that the installation of VFP was done from the MSDN CD which does an incomplete installation. We had to patch manually the IIS server with several configuration in order to make that work.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform