HowTo Query XML WebServices Using C#
I would like to query a webservice located at
http://tckimlik.nvi.gov.tr/Web/WebServices.aspxIt gives info about usage and some links but I dont know how can I implement a program into C# that queries this XML webService and returns me the result. Most topics in this forum is about reading from an xml file but I need to query a xml file then get the result. Thanks.
Hi,
In your C# project choose, Add Web References and type in the following:
http://tckimlik.nvi.gov.tr/kpspublic.asmx [Thats the webservice from the URL you provided]
Then add the web reference. The namespace of the webservice will be accesible under your default namespace. You can then instantiate and use the classes and methods in the webservice.
Regards,
Vikram