node-soap icon indicating copy to clipboard operation
node-soap copied to clipboard

Try to make error messages useful when using SOAP 1.2

Open nraynaud opened this issue 8 months ago • 1 comments

When using SOAP 1.2 the Fault error messages were Uncaught Error: undefined: undefined.

They are now of the form Uncaught Error: s:Sender: w:InternalError: The WS-Management service cannot process the request because the XML is invalid.: {"FaultDetail":"http://schemas.dmtf.org/wbem/wsman/1/wsman/faultDetail/Invalid","WSManFault":{"attributes":{"Code":"2150858819","Machine":"dell"},"Message":"WinRM cannot process the request because the input XML uses an undefined XML namespace."}}, while verbose, it's actually useful.

nraynaud avatar Oct 27 '23 14:10 nraynaud