A comment PHP kılavuzu devletlere:
If you are using this method, remember that the array of arguments need to be passed in with the ordering being the same order that the SOAP endpoint expects.
e.g //server expects: Foo(string name, int age)
//won't work $args = array(32, 'john'); $out = $client->__soapCall('Foo', $args); //will work $args = array('john', 32); $out = $client->__soapCall('Foo', $args);
Ben bu argümanlar doğru sırayla her zaman olduğunu olur demektir, dinamik değişken değerlerini atar bir SOAP istemci inşa ediyorum. Bu daha sonra gerçek soap aramayı keser.
Bu kolay bir çözüm her çağrı için parametrelerin sırasını kontrol kısa, var mı?