PHP SOAP client calling function with parameters

后端 未结 4 2067
南旧
南旧 2021-02-20 10:22

I created a SOAP client like so:

$client = new SoapClient(\"file.wsdl\");

And then when I want to call an API function

$client-         


        
4条回答
  •  独厮守ぢ
    2021-02-20 11:20

       $client = new SoapClient("your wsdl file");
       $stock = "NCR";
       $parameters= array("request"=>$stock);
       $values = $client->someMethod($parameters);
    

提交回复
热议问题