>>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.