Adding the ability to use Apache HttpClient to leverage NTLM authentication for web services. This includes the ability to access Microsoft Dynamics AX and NAV.
Includes the Apache HttpClient version 4.4, with support for NTLMv1, NTLMv2. See Apache HttpComponents
In order to enable support for NTLM on a web service call, you will need to do the following:
- Add a Consumed Web Service resource for the web service (used for schema generation)
- Add a Domain-to-XML mapping for the request body, based on the web service from above
- Add a XML-to-Domain mapping for the response, based on the web service from above
- Create a microflow that does the following:
- Create a request FileDocument
- Add an Import XML action to convert domain to xml to the request FileDocument
- Create a response FileDocument
- Call 'Call_NTLMWebService' microflow with the above + the config object
- Add an Export XML action to convert the xml to domain to the response FileDocument