NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
PHP Client: WS-Addressing,WS-Security, SSL


Joined: 10 Jan 2012
Posts: 1
Reply with quote
Hello,

How can i connect with php and soap this WSDL,

Test Addresses:

WSDL:
Code:
https://kps.saglik.gov.tr/wsdl.ashx?1&Test=1

Flatten WSDL:
Code:
https://kps.saglik.gov.tr/wsdl.ashx?2&Test=2


Info Url:

Code:
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:

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:

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 Rolling Eyes
View user's profileFind all posts by verylifeSend private message
PHP Client: WS-Addressing,WS-Security, SSL
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic