Mike Sue-Ping
Cambridge, Ontario, Canada
Versions des environnements
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement