-
Notifications
You must be signed in to change notification settings - Fork 1
/
ornek.php
26 lines (21 loc) · 626 Bytes
/
ornek.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
/**
* File: ornek.php
* @author H.Alper Tuna <halpertuna@gmail.com>
* Date: 12.07.2017
* Last Modified Date: 12.07.2017
* Last Modified By: H.Alper Tuna <halpertuna@gmail.com>
*/
require 'SoapOsymHeader';
$wsdl = "https://vps.osym.gov.tr/Ext/Provider/BilgiServisi/Sonuc?wsdl";
$kullanici = 'kullanici';
$sifre = '******';
$istemci = new SoapClient($wsdl, array(
// Http basic auth
'login' => $kullanici,
'password' => $sifre,
));
$istemci->__setSoapHeaders([new SoapOsymHeader($kullanici, $sifre)]);
print_r($istemci->__getFunctions());
$cevap = $istemci->SinavGrupBilgileriniGetir();
print_r($cevap);