Guest User

Phpsoap

a guest
Apr 13th, 2013
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1. try{
  2.     $soap_options = array('soap_version'=>SOAP_1_1,'cache_wsdl'=>WSDL_CACHE_NONE,'trace' => TRUE);
  3.     $soap = new SoapClient('http://url.to/web/service.svc?wsdl',$soap_options);
  4.     $a = $soap->Test(array("login" => array("FirmaId" => 15,"KullaniciAdi" => "Asdf", "Parola" => "Xyxy")));
  5.     var_dump($a);
  6. }catch(Exception $e){
  7.     var_dump($e);
  8. }
Advertisement
Add Comment
Please, Sign In to add comment