{"id":154,"date":"2009-02-11T03:15:00","date_gmt":"1970-01-01T00:00:00","guid":{"rendered":"http:\/\/www.yazilimmutfagi.com\/?p=154"},"modified":"2009-02-11T03:15:00","modified_gmt":"1970-01-01T00:00:00","slug":"xml-web-servisleri-i-web-servisleri-ile-dataset-dondurmek","status":"publish","type":"post","link":"https:\/\/www.yazilimmutfagi.com\/index.php\/2009\/02\/11\/xml-web-servisleri-i-web-servisleri-ile-dataset-dondurmek\/","title":{"rendered":"XML Web Servisleri I &#8211; Web Servisleri ile DataSet D\u00f6nd\u00fcrmek"},"content":{"rendered":"<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><span style=\"font-size: small; font-family: Calibri;\">Web servislerle ilgili internete bir&ccedil;ok dok&uuml;man bulabilirsiniz. Web servis sudur, su ise yarar, s&ouml;yle &ccedil;alisir gibi bilgiler vermeden direk olarak bir web servis nasil olusturuluru konusacagiz.<span style=\"\">&nbsp; <\/span>Aldigi parametreye g&ouml;re veritabanindan sorgu yaparak sonucu geri d&ouml;nd&uuml;ren basit bir web servis metodu olusturacagiz. Hadi baslayalim.<\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><span style=\"font-size: small; font-family: Calibri;\">Projeyi <a href=\"http:\/\/www.yazilimmutfagi.com\/Makale\/Img\/Sabri\/1_13_WebServiceBaslangic.rar\">Buradan <\/a>Indirebilirsiniz.<\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><span style=\"font-size: small; font-family: Calibri;\">Visual Studio 2008 de New Project -&gt; Visual C# -&gt; Web menusu altindan ASP.NET Web Service Application se&ccedil;enegini se&ccedil;erek devam edelim.<\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt;\" class=\"MsoNormal\">&nbsp;<a href='www.yazilimmutfagi.com'>.<\/a><\/p>\n<p style=\"margin: 0cm 0cm 10pt;\" class=\"MsoNormal\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\"><span style=\"\"><img decoding=\"async\" loading=\"lazy\" height=\"456\" width=\"644\" alt=\"\" src=\"http:\/\/www.yazilimmutfagi.com\/Makale\/Img\/Sabri\/1_13_resim1.jpg\" \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>Yukaridaki ekranda Ok butonuna bastiginiz zaman web servisiniz otomatik olarak olusturulacak. Visual Studio web servisimizin &ccedil;alismasi i&ccedil;in gerekli asagidaki kodlari olusturacak.<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">namespace<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> WebServiceBaslangic<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: gray;\">\/\/\/<\/span><span style=\"color: green;\"> <\/span><span style=\"color: gray;\">&lt;summary&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: gray;\">\/\/\/<\/span><span style=\"color: green;\"> Summary description for Service1<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: gray;\">\/\/\/<\/span><span style=\"color: green;\"> <\/span><span style=\"color: gray;\">&lt;\/summary&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>[<span style=\"color: rgb(43, 145, 175);\">WebService<\/span>(Namespace = <span style=\"color: rgb(163, 21, 21);\">&quot;http:\/\/tempuri.org\/&quot;<\/span>)]<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>[<span style=\"color: rgb(43, 145, 175);\">WebServiceBinding<\/span>(ConformsTo = <span style=\"color: rgb(43, 145, 175);\">WsiProfiles<\/span>.BasicProfile1_1)]<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>[<span style=\"color: rgb(43, 145, 175);\">ToolboxItem<\/span>(<span style=\"color: blue;\">false<\/span>)]<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: green;\">\/\/ To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. <\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: green;\">\/\/ [System.Web.Script.Services.ScriptService]<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">public<\/span> <span style=\"color: blue;\">class<\/span> <span style=\"color: rgb(43, 145, 175);\">Service1<\/span> : System.Web.Services.<span style=\"color: rgb(43, 145, 175);\">WebService<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>{<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">&nbsp;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>[<span style=\"color: rgb(43, 145, 175);\">WebMethod<\/span>]<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">public<\/span> <span style=\"color: blue;\">string<\/span> HelloWorld()<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>{<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">return<\/span> <span style=\"color: rgb(163, 21, 21);\">&quot;Hello World&quot;<\/span>;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>}<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>}<\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Courier New&quot;;\">}<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; text-indent: 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: small; font-family: Calibri;\">Kod i&ccedil;inde<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> [<span style=\"color: rgb(43, 145, 175);\">WebService<\/span>(Namespace = <span style=\"color: rgb(163, 21, 21);\">&quot;http:\/\/tempuri.org\/&quot;<\/span>)] <\/span><span style=\"font-size: small; font-family: Calibri;\">kismini <\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">[<span style=\"color: rgb(43, 145, 175);\">WebService<\/span>(Namespace = <span style=\"color: rgb(163, 21, 21);\">&quot;http:\/\/yazilimmutfagi.com\/&quot;<\/span>)] <\/span><span style=\"font-size: small; font-family: Calibri;\">olarak degistirelim.<span style=\"\">&nbsp; <\/span>Yukaridaki kodu inceleyecek olursak HelloWorld adinda bir metot olusturulmus ve &ccedil;agirildigi durumda &ldquo;Hello World&rdquo; string degerini d&ouml;nd&uuml;rmekle g&ouml;revli. Burada dikkat edilmesi gereken <\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">[<span style=\"color: rgb(43, 145, 175);\">WebMethod<\/span>]<\/span><span style=\"font-size: small; font-family: Calibri;\"> kismi. Eger web servisinize yazdiginiz fonksiyona disaridan erisilmesini istiyorsaniz <\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">[<span style=\"color: rgb(43, 145, 175);\">WebMethod<\/span>]<\/span><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\"> etiketini metot isminin hemen &uuml;st&uuml;ne koymak zorundasiniz. <span style=\"\">&nbsp;<\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; text-indent: 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: small; font-family: Calibri;\">Gelelim kendi web metodumuzu yazmaya. Yazacagimzi metod aldigi parametre ile veritabaninda sorgu &ccedil;alistirarak veritabanindan d&ouml;nen verileri metodu &ccedil;agiran istemciye g&ouml;nderecek. Bunun i&ccedil;in ilk olarak kullanacagimiz veritabani tablomuzu olusturalim. Ben &ouml;rnegimizde Kisi adinda bir tablo kullanacagim. Tablomuzun scripti asagidaki gibidir.<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; text-indent: 35.4pt; line-height: normal;\" class=\"MsoNormal\"><a href='www.yazilimmutfagi.com'>.<\/a><span style=\"font-size: small; font-family: Calibri;\"> <br \/>\n<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">CREATE<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> <span style=\"color: blue;\">TABLE<\/span> [dbo]<span style=\"color: gray;\">.<\/span>[Kisi]<span style=\"color: gray;\">(<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>[No] [int] <span style=\"color: blue;\">IDENTITY<\/span><span style=\"color: gray;\">(<\/span>1<span style=\"color: gray;\">,<\/span>1<span style=\"color: gray;\">)<\/span> <span style=\"color: gray;\">NOT<\/span> <span style=\"color: gray;\">NULL,<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>[Ad] [varchar]<span style=\"color: gray;\">(<\/span>50<span style=\"color: gray;\">)<\/span> <span style=\"color: gray;\">NULL,<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>[Soyad] [varchar]<span style=\"color: gray;\">(<\/span>50<span style=\"color: gray;\">)<\/span> <span style=\"color: gray;\">NULL,<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>[TCKimlikNo] [char]<span style=\"color: gray;\">(<\/span>11<span style=\"color: gray;\">)<\/span> <span style=\"color: gray;\">NULL,<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>[Numara] [int] <span style=\"color: gray;\">NULL,<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>[Cinsiyet] [char]<span style=\"color: gray;\">(<\/span>1<span style=\"color: gray;\">)<\/span> <span style=\"color: gray;\">NULL,<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>[DogumYeri] [varchar]<span style=\"color: gray;\">(<\/span>50<span style=\"color: gray;\">)<\/span> <span style=\"color: gray;\">NULL,<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: gray; font-family: &quot;Courier New&quot;;\">)<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>Olusturdugunuz tabloya kendi istediginiz verileri girin. Daha sonra web servisimizi kod kismini a&ccedil;arak asagidaki kodlari ekleyin.<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">&nbsp;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">[<span style=\"color: rgb(43, 145, 175);\">WebMethod<\/span>]<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">public<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> <span style=\"color: rgb(43, 145, 175);\">DataSet<\/span> KisiDondur(<span style=\"color: blue;\">string<\/span> ad)<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">string<\/span> query = <span style=\"color: rgb(43, 145, 175);\">String<\/span>.Format(<span style=\"color: rgb(163, 21, 21);\">&quot;SELECT * FROM Kisi WHERE Ad = &#8216;{0}&#8217;&quot;<\/span>,ad);<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">return<\/span> SorguCalistir(query);<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">&nbsp;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">[<span style=\"color: rgb(43, 145, 175);\">WebMethod<\/span>]<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">public<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> <span style=\"color: rgb(43, 145, 175);\">DataSet<\/span> KisiDondurTCKimlikNoIle(<span style=\"color: blue;\">string<\/span> tcKimlikNo)<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">string<\/span> query = <span style=\"color: rgb(43, 145, 175);\">String<\/span>.Format(<span style=\"color: rgb(163, 21, 21);\">&quot;SELECT * FROM Kisi WHERE TCKimlikNo = &#8216;{0}&#8217;&quot;<\/span>, tcKimlikNo);<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">return<\/span> SorguCalistir(query);<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">&nbsp;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">public<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"> <span style=\"color: rgb(43, 145, 175);\">DataSet<\/span> SorguCalistir(<span style=\"color: blue;\">string<\/span> query)<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">{<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">SqlConnection<\/span> con = <span style=\"color: blue;\">new<\/span> <span style=\"color: rgb(43, 145, 175);\">SqlConnection<\/span>(<span style=\"color: rgb(163, 21, 21);\">&quot;Data Source=.;Initial Catalog=Ornek;Integrated Security=True&quot;<\/span>);<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>con.Open();<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">SqlDataAdapter<\/span> da = <span style=\"color: blue;\">new<\/span> <span style=\"color: rgb(43, 145, 175);\">SqlDataAdapter<\/span>(query, con);<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>da.SelectCommand.ExecuteNonQuery();<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: rgb(43, 145, 175);\">DataSet<\/span> dt = <span style=\"color: blue;\">new<\/span> <span style=\"color: rgb(43, 145, 175);\">DataSet<\/span>();<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>da.Fill(dt);<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">return<\/span> dt;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">}<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; text-indent: 35.4pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: small; font-family: Calibri;\">Yukarida g&ouml;rd&uuml;g&uuml;n&uuml;z gibi KisiBilgilerini Donduren iki fonksiyon tanimladik ve tanimlamalarinin hemen &uuml;st&uuml;ne <\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">[<span style=\"color: rgb(43, 145, 175);\">WebMethod<\/span>] <\/span><span style=\"font-size: small; font-family: Calibri;\">ekledik. Ama SorguCalistir adiyla tanimladigimiz fonksiyona <\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">[<span style=\"color: rgb(43, 145, 175);\">WebMethod<\/span>] <\/span><span style=\"font-size: small; font-family: Calibri;\">eklemedik. &Ccedil;&uuml;nk&uuml; bu fonksiya disardan erisilmesini istemiyoruz. Web Servisimizi &ccedil;alistirarak sonu&ccedil;lara bakalim ve makalemizi sonlandiralim.<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\">&nbsp;<\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><span style=\"font-size: small; font-family: Calibri;\"><img decoding=\"async\" loading=\"lazy\" height=\"191\" width=\"624\" alt=\"\" src=\"http:\/\/www.yazilimmutfagi.com\/Makale\/Img\/Sabri\/1_13_resim2.jpg\" style=\"float: left;\" \/><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\">&nbsp;<\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\">&nbsp;<\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\">&nbsp;<\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\">&nbsp;<\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\">&nbsp;<\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\">&nbsp;<\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\">&nbsp;<\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\">&nbsp;<\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><span style=\"font-size: small; font-family: Calibri;\">Yukarida g&ouml;r&uuml;ld&uuml;g&uuml; gibi <\/span><span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Courier New&quot;;\">[<span style=\"color: rgb(43, 145, 175);\">WebMethod<\/span>]<\/span><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\"><span style=\"\">&nbsp;<\/span>ekledigimiz t&uuml;m fonksiyonlarimiz listelendi. Bunlardan KisiDondur linkini tiklayarak devam edelim.<\/span><\/span>&nbsp;<\/p>\n<p style=\"margin: 0cm 0cm 10pt;\" class=\"MsoNormal\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\"><span style=\"\"><img decoding=\"async\" loading=\"lazy\" height=\"541\" width=\"629\" alt=\"\" src=\"http:\/\/www.yazilimmutfagi.com\/Makale\/Img\/Sabri\/1_13_resim3.jpg\" \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt;\" class=\"MsoNormal\"><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ad kismina Metin yazarak &Ccedil;agir dedigimizde Metin adli bir kisi tablomuzda var ise Metine ait t&uuml;m bilgiler <\/span><\/span><span style=\"font-size: small;\"><span style=\"font-family: Calibri;\">asagida g&ouml;r&uuml;ld&uuml;g&uuml; gibi XML formatinda bize d&ouml;necektir. <\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">DataSet<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp; <\/span>&minus;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:schema<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"> <\/span><span style=\"font-size: 10pt; color: red; font-family: &quot;Courier New&quot;;\">id<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">=<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">&quot;<span style=\"color: blue;\">NewDataSet<\/span>&quot;<span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>&minus;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:element<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"> <\/span><span style=\"font-size: 10pt; color: red; font-family: &quot;Courier New&quot;;\">name<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">=<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">&quot;<span style=\"color: blue;\">NewDataSet<\/span>&quot;<span style=\"color: blue;\"> <\/span><span style=\"color: red;\">msdata:IsDataSet<\/span><span style=\"color: blue;\">=<\/span>&quot;<span style=\"color: blue;\">true<\/span>&quot;<span style=\"color: blue;\"> <\/span><span style=\"color: red;\">msdata:UseCurrentLocale<\/span><span style=\"color: blue;\">=<\/span>&quot;<span style=\"color: blue;\">true<\/span>&quot;<span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&minus;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:complexType<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&minus;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:choice<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"> <\/span><span style=\"font-size: 10pt; color: red; font-family: &quot;Courier New&quot;;\">minOccurs<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">=<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">&quot;<span style=\"color: blue;\">0<\/span>&quot;<span style=\"color: blue;\"> <\/span><span style=\"color: red;\">maxOccurs<\/span><span style=\"color: blue;\">=<\/span>&quot;<span style=\"color: blue;\">unbounded<\/span>&quot;<span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&minus;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:element<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"> <\/span><span style=\"font-size: 10pt; color: red; font-family: &quot;Courier New&quot;;\">name<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">=<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">&quot;<span style=\"color: blue;\">Table<\/span>&quot;<span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&minus;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:complexType<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&minus;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:sequence<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:element<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"> <\/span><span style=\"font-size: 10pt; color: red; font-family: &quot;Courier New&quot;;\">name<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">=<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">&quot;<span style=\"color: blue;\">No<\/span>&quot;<span style=\"color: blue;\"> <\/span><span style=\"color: red;\">type<\/span><span style=\"color: blue;\">=<\/span>&quot;<span style=\"color: blue;\">xs:int<\/span>&quot;<span style=\"color: blue;\"> <\/span><span style=\"color: red;\">minOccurs<\/span><span style=\"color: blue;\">=<\/span>&quot;<span style=\"color: blue;\">0<\/span>&quot;<span style=\"color: blue;\">\/&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:element<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"> <\/span><span style=\"font-size: 10pt; color: red; font-family: &quot;Courier New&quot;;\">name<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">=<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">&quot;<span style=\"color: blue;\">Ad<\/span>&quot;<span style=\"color: blue;\"> <\/span><span style=\"color: red;\">type<\/span><span style=\"color: blue;\">=<\/span>&quot;<span style=\"color: blue;\">xs:string<\/span>&quot;<span style=\"color: blue;\"> <\/span><span style=\"color: red;\">minOccurs<\/span><span style=\"color: blue;\">=<\/span>&quot;<span style=\"color: blue;\">0<\/span>&quot;<span style=\"color: blue;\">\/&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:element<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"> <\/span><span style=\"font-size: 10pt; color: red; font-family: &quot;Courier New&quot;;\">name<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">=<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">&quot;<span style=\"color: blue;\">Soyad<\/span>&quot;<span style=\"color: blue;\"> <\/span><span style=\"color: red;\">type<\/span><span style=\"color: blue;\">=<\/span>&quot;<span style=\"color: blue;\">xs:string<\/span>&quot;<span style=\"color: blue;\"> <\/span><span style=\"color: red;\">minOccurs<\/span><span style=\"color: blue;\">=<\/span>&quot;<span style=\"color: blue;\">0<\/span>&quot;<span style=\"color: blue;\">\/&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:element<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"> <\/span><span style=\"font-size: 10pt; color: red; font-family: &quot;Courier New&quot;;\">name<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">=<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">&quot;<span style=\"color: blue;\">TCKimlikNo<\/span>&quot;<span style=\"color: blue;\"> <\/span><span style=\"color: red;\">type<\/span><span style=\"color: blue;\">=<\/span>&quot;<span style=\"color: blue;\">xs:string<\/span>&quot;<span style=\"color: blue;\"> <\/span><span style=\"color: red;\">minOccurs<\/span><span style=\"color: blue;\">=<\/span>&quot;<span style=\"color: blue;\">0<\/span>&quot;<span style=\"color: blue;\">\/&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:element<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"> <\/span><span style=\"font-size: 10pt; color: red; font-family: &quot;Courier New&quot;;\">name<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">=<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">&quot;<span style=\"color: blue;\">Numara<\/span>&quot;<span style=\"color: blue;\"> <\/span><span style=\"color: red;\">type<\/span><span style=\"color: blue;\">=<\/span>&quot;<span style=\"color: blue;\">xs:int<\/span>&quot;<span style=\"color: blue;\"> <\/span><span style=\"color: red;\">minOccurs<\/span><span style=\"color: blue;\">=<\/span>&quot;<span style=\"color: blue;\">0<\/span>&quot;<span style=\"color: blue;\">\/&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:element<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"> <\/span><span style=\"font-size: 10pt; color: red; font-family: &quot;Courier New&quot;;\">name<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">=<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">&quot;<span style=\"color: blue;\">Cinsiyet<\/span>&quot;<span style=\"color: blue;\"> <\/span><span style=\"color: red;\">type<\/span><span style=\"color: blue;\">=<\/span>&quot;<span style=\"color: blue;\">xs:string<\/span>&quot;<span style=\"color: blue;\"> <\/span><span style=\"color: red;\">minOccurs<\/span><span style=\"color: blue;\">=<\/span>&quot;<span style=\"color: blue;\">0<\/span>&quot;<span style=\"color: blue;\">\/&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:element<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"> <\/span><span style=\"font-size: 10pt; color: red; font-family: &quot;Courier New&quot;;\">name<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">=<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">&quot;<span style=\"color: blue;\">DogumYeri<\/span>&quot;<span style=\"color: blue;\"> <\/span><span style=\"color: red;\">type<\/span><span style=\"color: blue;\">=<\/span>&quot;<span style=\"color: blue;\">xs:string<\/span>&quot;<span style=\"color: blue;\"> <\/span><span style=\"color: red;\">minOccurs<\/span><span style=\"color: blue;\">=<\/span>&quot;<span style=\"color: blue;\">0<\/span>&quot;<span style=\"color: blue;\">\/&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;\/<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:sequence<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;\/<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:complexType<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;\/<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:element<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;\/<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:choice<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;\/<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:complexType<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>&lt;\/<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:element<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp; <\/span>&lt;\/<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">xs:schema<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp; <\/span>&minus;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">diffgr:diffgram<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>&minus;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">NewDataSet<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&minus;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">Table<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"> <\/span><span style=\"font-size: 10pt; color: red; font-family: &quot;Courier New&quot;;\">diffgr:id<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">=<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">&quot;<span style=\"color: blue;\">Table1<\/span>&quot;<span style=\"color: blue;\"> <\/span><span style=\"color: red;\">msdata:rowOrder<\/span><span style=\"color: blue;\">=<\/span>&quot;<span style=\"color: blue;\">0<\/span>&quot;<span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">No<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">2<span style=\"color: blue;\">&lt;\/<\/span><span style=\"color: rgb(163, 21, 21);\">No<\/span><span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">Ad<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">Metin<span style=\"color: blue;\">&lt;\/<\/span><span style=\"color: rgb(163, 21, 21);\">Ad<\/span><span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">Soyad<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">Tosun<span style=\"color: blue;\">&lt;\/<\/span><span style=\"color: rgb(163, 21, 21);\">Soyad<\/span><span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">TCKimlikNo<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">76543244233<span style=\"color: blue;\">&lt;\/<\/span><span style=\"color: rgb(163, 21, 21);\">TCKimlikNo<\/span><span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">Numara<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">124<span style=\"color: blue;\">&lt;\/<\/span><span style=\"color: rgb(163, 21, 21);\">Numara<\/span><span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">Cinsiyet<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">E<span style=\"color: blue;\">&lt;\/<\/span><span style=\"color: rgb(163, 21, 21);\">Cinsiyet<\/span><span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">DogumYeri<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><span style=\"font-size: 10pt; font-family: &quot;Courier New&quot;;\">Ankara<span style=\"color: blue;\">&lt;\/<\/span><span style=\"color: rgb(163, 21, 21);\">DogumYeri<\/span><span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>&lt;\/<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">Table<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span>&lt;\/<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">NewDataSet<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 0pt; line-height: normal;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp; <\/span>&lt;\/<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">diffgr:diffgram<\/span><span style=\"font-size: 10pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt;\" class=\"MsoNormal\"><span style=\"font-size: 10pt; color: blue; line-height: 115%; font-family: &quot;Courier New&quot;;\">&lt;\/<\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); line-height: 115%; font-family: &quot;Courier New&quot;;\">DataSet<\/span><span style=\"font-size: 10pt; color: blue; line-height: 115%; font-family: &quot;Courier New&quot;;\">&gt;<\/span><\/p>\n<p style=\"margin: 0cm 0cm 10pt; text-indent: 35.4pt;\" class=\"MsoNormal\"><span style=\"font-size: small; font-family: Calibri;\">Olusturdugumuz bir web servisi baska bir projeden nasil &ccedil;agiracagimiz hakkinda bilgiyi sonraki makalelerimizde vermeye &ccedil;alisacagiz. <\/span><\/p>","protected":false},"excerpt":{"rendered":"<p>Web servislerle ilgili internete bir&#231;ok dok&#252;man bulabilirsiniz. Web servis sudur, su ise yarar, s&#246;yle &#231;alisir gibi bilgiler vermeden direk olarak bir web servis nasil olusturuluru konusacagiz.  Aldigi parametreye g&#246;re veritabanindan sorgu yaparak sonucu geri d&#246;nd&#252;ren basit bir web servis metodu &#8230;<\/p>\n","protected":false},"author":517,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[407],"tags":[5175,4229,5094,4431,5743,6091,6049,6243,4488],"_links":{"self":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts\/154"}],"collection":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/users\/517"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/comments?post=154"}],"version-history":[{"count":0,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts\/154\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/media?parent=154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/categories?post=154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/tags?post=154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}