I created a SOAP client like so:
$client = new SoapClient(\"file.wsdl\");
And then when I want to call an API function
$client-
$info = $client->__call("myAction", ['body' => ['param1' => '123', 'param2' => '456']]);