When set the header Authorization (line 252) the SOAPClient returns TypeError: document is null on soapclient.js:423:5.
PS: I changed the SOAPClient.userName by SOAPClient.username on the lines 249 and 252 because SOAPClient.userName always is null, the real value of username is on SOAPClient.username.
I'm using 3.0 version.
When set the header
Authorization(line 252) the SOAPClient returnsTypeError: document is nullon soapclient.js:423:5.PS: I changed the
SOAPClient.userNamebySOAPClient.usernameon the lines 249 and 252 becauseSOAPClient.userNamealways is null, the real value of username is onSOAPClient.username.I'm using 3.0 version.