Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need to access secure web service from VFP 9
Message
De
28/08/2009 14:27:33
 
 
À
28/08/2009 11:37:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Application:
Desktop
Divers
Thread ID:
01421497
Message ID:
01421550
Vues:
87
>Hi All,
>
>I'm working on an integration project that requires use of a secure web service from my internal Fox 9 application. The web service requires that I embed user credentials in the soap header. I have not consumed a web service from Fox before. I did some research and I have some pre-generated code using FFC classes after registering the web service asmx in the fox 9 tool box. I do not understand it very well.
>
<snip>

>I believe I need to instantiate one of these header handlers and set it as the handler for the web service client in the first example, then provide the correct namespace and element names. I'd like some help understanding this better before trying to hook all this together. Also, I would certainly consider alternate approaches. Is there a way I can write a client in Visual studio and just call it from Fox like a COM class? I have an example VS2005 client project provided by the guy I'm working with. maybe that's the easier way to approach this task?
>
>thanks,

We have implemented something similar based on your description above. Our major hold up was that VFP using SOAP cannot establish connection to a WebService behind an HTTPS server. It had to do with a chicken-and-egg problem where to connect: VFP needs the read the Certificates which requires User credentials but you can't provide the User credentials without the Certificate. This was not a problem in C#.Net.

So we ended up having this solution:
VFP8 App.EXE --->  C# WSBroker.DLL ---> ( internet ) ---> HTTPS server hosting both WSDL + VFP8 WS.DLL
Server Cert + Client Cert reside on the server running the VFP8 App
ramil
~~ learning to stand still
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform