Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending date to an HTTPS web site
Message
From
22/06/2008 13:43:13
 
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
01325999
Message ID:
01326014
Views:
24
>I have to make a quote on updating an existing application (that I've been supporting fro several years) to send data to an HTTPS web site.
>
>All I know at this point is that I will be provided a user name and password, and the application will connect to the web sites and send a data item, at the server end the provider will do error checking on the data and accept or reject it. My applicaton will log the response.I can get a handle on what is involved in formatting the data and tracking and logging success/failure and providing reports to the client.
>
>But I've never had to do anything to do with web applications in FoxPro. I need some pointers on where I should start looking and a guess at how much time this would involve.

It is a bit unclear if the HTTPS site is just waiting for some file, a HTTPS get or Post or if this is a normal webasite where you are expected to input data simulationg a user (using IE automation).

I'd use WinHTTP - Com object unless IE automation is called for, but If you never sniffed at all around such stuff I recommend visiting Rick's site (West-Wind.Com) and try out his Internet Client Tools for vfp - I'm pretty sure he has either WinAPI or WinHTTP nicely wrapped and his code is a very readable and well structured IMHO. His book is a bit dated, but gives you a solid read on the background - probably still better than googling around if you eally have no idea of the basic stuff, as it is written from a fox POV. If client certificates are asked for in the HTTPS make sure this is supported - a few years back this was the one of the main reasons for me to create a small WebService/XMLRPC fwk for interfacing with java. I had argued for overwriting the relevant parts of his fwk but was overruled.


HTH

thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform