Hello,
How can i connect with php and soap this WSDL,
Test Addresses:
WSDL:
https://kps.saglik.gov.tr/wsdl.ashx?1&Test=1 |
Flatten WSDL:
https://kps.saglik.gov.tr/wsdl.ashx?2&Test=2 |
Info Url:
https://kps.saglik.gov.tr/ |
Test User: 1256
Test Pass: DR4T67
Test Number 1(For query): 16669215860
Test Number 2(For query): 11002483920
Test Number 3(For query): 14707280986
Test Number 4(For query): 17410201354
Test Number 5(For query): 26101552934
C# sample Code:
Servisler.KPSTestServicesClient baglanti = new Servisler.KPSTestServicesClient();
baglanti.ClientCredentials.UserName.UserName = "1256";
baglanti.ClientCredentials.UserName.Password ="DR4T67";
baglanti.Open();
tc = textBox1.Text.ToString();
Servisler.KPSServisSonucuKisiTemelBilgisi kisial = baglanti.TcKimlikNoIleKisiSorgula(Int64.Parse(tc));
MessageBox.Show(kisial.Sonuc.AnaAd); |
Visual Basic Sample Code:
Dim ba?lan As servisler.KPSTestServicesClient = New servisler.KPSTestServicesClient()
baglan.ClientCredentials.UserName.UserName = 1256
baglan.ClientCredentials.UserName.Password = "DR4T67"
baglan.Open()
Dim tc As Long = TextBox1.Text
Dim sonuc As servisler.KPSServisSonucuKisiTemelBilgisi = baglan.TcKimlikNoIleKisiSorgula(tc)
TextBox2.Text = sonuc.Sonuc.Ad
TextBox3.Text = sonuc.Sonuc.Soyad |
i want to client for PHP, help