hi, i'm using a soap client for node.js found here:
https://www.npmjs.com/package/soapI'm calling my method:
soapResult = sync.await(client.authenticate( methodArgs, sync.defer()));
but soapResult is null
However, when i take a look at client.lastResponse i can see the xml response i would expect:
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<wsse:Security>
<wsse:BinarySecurityToken>123456789</wsse:BinarySecurityToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<authenticateResponse xmlns=""/>
</soapenv:Body>
</soapenv:Envelope>
I'm wondering if soapResult is null because authenticateResponse is null, and it expects the value to be there? The value is in fact returned in the header, i want to return BinarySecurityToken but i'm not sure how.
thanks