Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 15th, 2012  |  syntax: None  |  size: 0.76 KB  |  hits: 17  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. PHP SoapClient request: not a valid method for this service
  2. <?php
  3.  
  4.   require_once('SoapClientAuth.php');
  5.  
  6.   ini_set("soap.wsdl_cache_enabled", "0");
  7.  
  8.   #- Loading the WSDL document
  9.   $server = "https://wsonline.seisint.com/WsAccurint/EchoTest?ver_=1.65";
  10.   $wsdl = $server . "&wsdl";    
  11.  
  12.   $client = new SoapClientAuth($wsdl,
  13.         array(
  14.               'login' => $username,
  15.               'password' => $password
  16.              ));  
  17.  
  18.   $types = $client->__getTypes();
  19.  
  20.   var_dump($types);
  21.  
  22.   echo "</br>";
  23.  
  24.   $req = $client->EchoTestRequest(array('ValueIn' => 'echo'));
  25.  
  26.   print $req->ValueOut;
  27.   echo "</br>";
  28. ?>
  29.        
  30. $functions = $client->__getFunctions ();
  31. var_dump ($functions);
  32.        
  33. array(1) { [0]=> string(54) "EchoTestResponse EchoTest(EchoTestRequest $parameters)" }