0

I am new to SOAP we services and recently got task to consume existing NAV service from Node.js. My Node.js code is on Google cloud functions.

So far I tried really hard using this answer: Is it possible to access Microsoft Dynamics NAV Web service from NodeJS?

But it seems like I am not able to get any response except 'Nan'.

what should be my values for wsdl_headder and wsdl_option?

this is my request, REQUESTXML =

<GETDETAIL LanguageCode="ENG" ID="1042" TNo="T00205" TaxBreakdown="TRUE">

  <SUBHEADERS>
    <SUBHEADER Name="SALES"/>
  </SUBHEADERS>
</GETDETAIL>

and this is what we call in OLD JAVA code, xmlCommunicationPort.getdetail(REQUESTXML, returnString);

xmlCommunicationPort is the object created in during Authentication and getdetail is a method generated automatically by a java.

New coder
  • 11
  • 1
  • 2
  • Have you tried it with postman or soapUI? – Mak Sim Jul 28 '21 at 06:10
  • Yes, But still wasn't able to qquery the SOAP or maintain the connection. In the end I ended up bypassing the SOAP services, but would still like to understand how it work properly. – New coder Oct 04 '21 at 17:52

0 Answers0