NodeJS Request module to call SOAP endpoint



I am using the nodejs request module to call a SOAP endpoint. The request XML is almost 100 lines intricate XML into which I have to inject details (setAttribute). I tried using http://ift.tt/MDNNwM, but its compatible only till W3C level 2.


An alternative that I am thinking is to store the xml in parts in various strings and concatenate them together with values in the code. But this already sounds very stupid. Can anyone please suggest ideas here?


No comments:

Post a Comment