Result : Not showing Response Body
@smokhov
After successful response from soap service , I am getting full stack of response including headers instead of only parsed JSON body in result
While printing error object I am getting
TypeError: Cannot read properties of undefined (reading 'description') at SAXParser.p.onopentag (/var/task/node_modules/soap/lib/wsdl/index.js:261:37) at emit (/var/task/node_modules/sax/lib/sax.js:631:35) at emitNode (/var/task/node_modules/sax/lib/sax.js:636:5) at openTag (/var/task/node_modules/sax/lib/sax.js:832:5) at SAXParser.write (/var/task/node_modules/sax/lib/sax.js:1415:13) at WSDL.xmlToObject (/var/task/node_modules/soap/lib/wsdl/index.js:469:11) at parseSync (/var/task/node_modules/soap/lib/client.js:300:33) at /var/task/node_modules/soap/lib/client.js:506:24 at handleBody (/var/task/node_modules/soap/lib/http.js:204:17) at /var/task/node_modules/soap/lib/http.js:236:24 {
I'll defer to @w666 on this one.
Looks like WSDL file is not correct. But there is not enough information. Could you provide WSDL files and code snippets how do you run the server and/or client.
Just realized PR #1205 appears to address exactly this.
@smokhov, I rebased that PR, but some existing tests failed.