>Hi,
>
>I have written a VFP project (VFP 6 SP 5) which consists of 4 class libraries. In one of them I have a class I have defined as OLE Public so I can publish one of its methods as a web service. The project is compiled as "Single-threaded COM DLL". The problem is that when I select the COM component on the Soap Toolkit 2.0 Wizard it says "The COM object you selected has no methods that can be called through Soap".
>
>What am I missing or doing wrong? TIA,
You'll likely run into problems with this setup because all your parameters will be scoped to string (or invalidly - can't remember now) and if any of them don't match when called the server will blow up.
Further if you're running this DLL on the Web server, it'll likely crash or bring the server to its knees because of the threading model in VFP 5. This was addressed in VFP 6 SP3...
Just a fair warning that this endeavor will likely cause you lots of grief even once it starts running.
And John's got it right - don't point at the DLL but the TLB file as VFP 5 did not compile type libs into the DLL itself.
+++ Rick ---