Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need assistance to translate this C# code to VFP
Message
From
03/08/2005 12:03:10
 
 
To
03/08/2005 11:28:46
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Web Services
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01037882
Message ID:
01038168
Views:
76
>I'm afraid that your answer is beyond my comprehension :) I don't have control over the .NET code. The code snippet I posted was an example provided in the documentation by the web service provider. Obviously, they chose to show how to call their stuff via C#.

What I'm saying is that you won't be able to access this particular Web Service from VFP alone. The SOAP Toolkit is rather old (and will not be updated as it has been deprecated by the .NET Framework) and it doesn't support many of the newer standards. You may access this WS from Java, .NET or any other platform using WS extensions standards like W-Secure, WS-I, etc. The sample code in C# is using WSE 2.0, which is an add-on for .NET supporting many of these standards.

That doesn't mean that your VFP application CAN'T consume this Web Service. It is just that instead of using the SOAP Toolkit you have to use the .NET Framework and the WSE client, and to be able to do this in an easy way you need to use Visual Studio.NET or at least an Open source IDE like SharpDevelop. But yes, you have to understand a few .NET concepts first.

I guess one of the things they'll tackle with Sedna will be providing better support for this.

>BTW, could you see my reply to Peter Pirker regarding trying to use the ProFox web service? Can you make the latter work for you using the XML Web Services in the VFP Task Pane? I can't.

I'm not sure if Ed's Web Service is working, as I can't access it also. You may try this one:
http://webservices.mug.org.ar/motor.wsdl

Just call the GetListas() method that doesn't require any parameter. If everything is appropriately setup it should work.

Hope this helps,
Previous
Reply
Map
View

Click here to load this message in the networking platform