I have a web site that we built, but I now need to be able to preload information into the web site by a third-party application using a web service. I need to be able to
1. Programmatically log into the website (the website uses forms authentication) and load an XML file into the website via a web service.
This should be easy a simple web service that says (and secured using SSL) should work.
eg. LoadXML (string userName, string password, string XML)
2. Start up the website in a browser (already logged in for the user) and goto an aspx page that presents the loaded information to the user.
This is a little more confusing, how do I programmatically log a user in? At first I thought of having a web service like above, and once the credentials are authenticated, I would redirect the user to the website page using the session information. But this doesn't seem to be the right approach...since web services don't have UI.
I don't want to encode the username/password in the URL in plain text....Can anyone help me with this?