Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can anyone help with this?
Message
From
23/09/2005 15:11:31
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
23/09/2005 13:30:00
General information
Forum:
Visual FoxPro
Category:
Web Services
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01049412
Message ID:
01052538
Views:
12
Hi Thomas,

Could you please expand on what you mean by,
I'ld go straight for IE/WebBrowser, manipulate the DOM to get "simulated user driven login behaviour".
Mike

>Hi Mike,
>>I'm trying to consume a webservice that first requires me to login. In order to login, the service requires an HTML form to POST the information. Their example of how to do this is as follows (I've changed the sensitive information for obvious reasons):
>
>If there is no *documented* automatic login functionality for the WS via WS-call or HTTP(S)-Get/Post I'ld stay away from trying to simulate it with such tools. I'ld go straight for IE/WebBrowser, manipulate the DOM to get "simulated user driven login behaviour". Any other way is too fragile in case of rearranged login-patterns. Even if a changed pattern might break your IE-automation, you can bet on being able to fix it quick, and if you have a few hours to spare you could build a version with a "safety net" - whenever IE automation breaks, force the user to manually login (perhaps logging the steps <g>) until the process is fixed.
>
>my 0.06 EUR (I've been there a few times <g>)
>
>thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform