Last post Oct 31, 2014 02:34 AM by Shawn - MSFT
Oct 30, 2014 01:10 PM|tim_james|LINK
I'm pretty new to web services and c# .net framework.
I'm developing an app that uses a third party's API/ Web services. My first task is getting this log in(authentication) to working.
Right now its nothing more than a simple Login form:
The code behind the "Log In" button is so far:
Here I've instantiated the SOAP web service that I'm using. And when I got to test/debug my form and type in my username and password and click the "Log In" button nothing happens..."of course"
So my question is, how could I validate whether the username and password were sent to the web service and whether the authentication is true or false?
Oct 31, 2014 02:34 AM|Shawn - MSFT|LINK
For this situation, I assume that you have already add the third party service reference into the client side. And then you could use the client reference to invoke the service method.
You could try to set a debuge point into the codebehind to debug the Button1_Click event and check whether the return value is true or false.
Then based on the value(true or false) to implement your login operation.