I made this change as I am using node-soap to access Exchange web services. In my case each element in the message needs to be namespaced and there is no overall wrapping element. ie this is for setting the out of office message by calling SetUserOofSettings:
"t:Message": "I have left the building"
"t:Message": "How may I help you?"
As you can see I have added support for indicating the namespace in the element name which is then pulled from the wsdl into the Envelope. I'm not sure if this is the right way to do this, I'm no expert on SOAP, but you or others might find this useful.
Added support for namespaced elements. Adds the namespace into the En…
Closing due to it being unmergeable and missing tests. Please reopen after a rebase and tests are added. Thank you.