Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Soap toolkit can't find COM methods
Message
 
To
12/02/2002 16:07:53
Fausto Garcia
Independent Developer
Lima, Peru
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00619128
Message ID:
00619277
Views:
16
>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 ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform