Hi all,
I'm new to use webservices in C#. And here i have got a webservice to pass user name & password & get the authentication details. I have added the particular web service to my C# project & below mentioned the XML method to be used. method is "GetUser"
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://xxxxx.com/clientservices" xmlns:tour="http://schemas.datacontract.org/2004/07/xxxxxxx.Interface.Common">
<soapenv:Header/>
<soapenv:Body>
<cli:GetUsers>
<cli:request/>
</cli:GetUsers>
</soapenv:Body>
</soapenv:Envelope>
So can anyone let me know how can I pass the username & password to this method using C# code behind page & retrieve the response from this webservice?
Below Mentioned the details they have provided me in terms of using this method.
PASSWORD VALIDATION
The Get operation can be used to allow non-XXX applications to validate a XXX login. There are 2 basic methods of implementing this functionality.
A standard Get without the specification of the CommonParams elements will return all users and their unencrypted passwords. The non-XXX application could then use that response to find the password and validate it.
The second technique is to send the username and password into the get operation in the CommonParams structure. If they are valid then the response will be the complete list of XXX user and if they are invalid then an error will be return. In either case the non-XXX application could be coded to allow and reject the login based on the response received.
Thanks In Advance