Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Consume VFP web service from .net without v.studio
Message
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Versions des environnements
Environment:
ASP.NET
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01585107
Message ID:
01585112
Vues:
66
>I have been asked to write a .net Web Service that will just receive some parameter string, and call my VFP web service with that string.
>The thing is that i do not work with .net at all, so is there some easy way to do this without visual studio?
>
>Thanks
>Jaime

It's not really clear what you're asking. So you already have a VFP web service running? Then why do you need the .NET web service?

If you're really asking "how can I create a Web Service that can call my VFP code", well, it depends. What protocol are you going to use for the web service? SOAP? Or is it really just a web page that takes a couple of parameters in the URL or POSTed? If it needs to be a SOAP-based web service of any complexity, then it's going to be much easier to do it in .NET (a basic WS is really easy to do).Or if the client-side is expecting some kind of auto-discovery of the service (so it can automatically build proxy-objects), then you'll want to use .NET.

If it's as simple as you say (and you're not going to need to pass more complex objects from/to the service), then you could use any of the VFP-based web frameworks (WebConnection, FoxWeb, ActiveVFP, etc) to build it and just manually parse/build the SOAP request/response. Or, if it's just a simple web page you wouldn't have to do any parsing at all, usually just a call to the framework's Request.QueryString or Request.Form class methods.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform