[nodejs] Node Soap - null response

2018-04-09 Thread scottatworkerc
hi, i'm using a soap client for node.js found here: https://www.npmjs.com/package/soap I'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 e

[nodejs] Node soap null result but client.lastResponse contains required xml

2018-04-09 Thread scottatworkerc
My Node request is coming back null: soapResult = sync.await(client.authenticate( methodArgs, sync.defer ())); But client.lastResponse does contain the xml i want, but the method response (authenticateResponse) is null. I want to access the security token passed in the header: http:

[nodejs] Re: Node Soap - null response

2018-04-20 Thread scottatworkerc
Hi Mikkel, the authenticate method doesn't belong to the soap library, it belongs to the 3rd party application. The 3rd party application has 5 methods in total, authenticate is the only method that returns the result in the head, rather than the body. I don't need to use client.setSecurity()