Open scramatte opened 1 year ago
How do you call the method?
I had a similar problem when I used the magic method __call() via:
$client->myMethodName($params)
because when you check the SoapClientRequest.php and check the defined __call() method you will see that it uses only the first part of the $params. ($parameters[0])
public function __call($name, $parameters)
{
return $this->call($name, $parameters[0] ?? []);
}
So directly use the call() method, maybe it will work, because it doesn't take only the first part of $parameters.
$client->call('myMethodName', $params)
If you are already using the call() method, ignore this comment :D
@lukeraymonddowning How can i pass multiple parameter to body?
@nedwors are you able to chime in on this?
maybe my suggested changes here are helping: https://github.com/Ricorocks-Digital-Agency/Soap/issues/61
Hello,
I need to pass following structure to the SOAP Client:
I've tried with the following array as parameters. But it doesn't works.
Anybody can give me an hand with this?
Regards