PHP Client: WS-Addressing,WS-Security, SSL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

How can i connect with php and soap this WSDL,

[b]Test Addresses:[/b]

[b]WSDL: [/b]
[code]https://kps.saglik.gov.tr/wsdl.ashx?1&Test=1[/code]
[b]Flatten WSDL: [/b]
[code]https://kps.saglik.gov.tr/wsdl.ashx?2&Test=2[/code]

[b]Info Url:[/b]

[code]https://kps.saglik.gov.tr/[/code]

[b]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[/b]

[b]C# sample Code:[/b]

  [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);[/code]


[b]Visual Basic Sample Code:[/b]

[code] Dim ba?lan As servisler.KPSTestServicesClient = New
servisler.KPSTestServicesClient()
        ba?lan.ClientCredentials.UserName.UserName = 1256
        ba?lan.ClientCredentials.UserName.Password = "DR4T67"
        ba?lan.Open()
        Dim tc As Long = TextBox1.Text
  Dim sonuc As servisler.KPSServisSonucuKisiTemelBilgisi =
ba?lan.TcKimlikNoIleKisiSorgula(tc)
        TextBox2.Text = sonuc.Sonuc.Ad
        TextBox3.Text = sonuc.Sonuc.Soyad[/code]

i want to client for PHP, help  :roll:
-- 
View this message in context: http://old.nabble.com/PHP-Client%3A-WS-Addressing%2CWS-Security%2C-SSL-tp33112308p33112308.html
Sent from the Php - Soap mailing list archive at Nabble.com.


-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux