I am trying to replicate PHP Soap Client in NodeJS.
In PHP:
$result = $client->__SoapCall('PAYMENT_METHOD', array($params));
This is working fine
When I use node-soap and do the following in NodeJS
client.PAYMENT_METHOD([params], function(err, result) {
console.log(err);
},{},header);
I get this error:
<faultstring>Procedure 'PAYMENT_METHOD' not present</faultstring>