Reputation: 5933
Dear Stackoverflowers,
Is it possible to do the following?
$client = new SoapClient("wsdldocument.wsdl");
$result = $client->myFunction( $param1, $param2, $param3 );
(How) Can I pass multiple arguments to a call?
I have already tried the following, but this also didn't work for me:
$client = new SoapClient("wsdldocument.swdl");
$params = array( "param1" => $param1, "param2" => $param2, "param3" => $param3 );
$result = $client->__soapCall( "myFunction", $params );
Upvotes: 3
Views: 4005
Reputation: 5933
I got it working :)
The WSDL file had been cached and changed afterwards. The following code helped me out:
ini_set( "soap.wsdl_cache_enabled", 0 );
Upvotes: 3