Click here to Skip to main content
15,611,656 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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="" xmlns:cli="" xmlns:tour="">

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.


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
Updated 15-May-14 19:38pm

1 solution


Please have a look at following articles available right here on CodeProject.

You can find many more SOAP web service articles here on CodeProject.

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900