We are facing some difficulties with the authentication of a consumed webservice from Microsoft Dynamics AX. Microsoft Dynamics AX requires a username, password and domain for authentication purposes. When using the standard Call web service action in Mendix, we are only able to specify the username and password in the HTTP authentication (thus domain cannot be explicitly specified). Without specifying the domain we get the following response from the webservice: com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized
Also we have tried to implement the NTLM module (https://github.com/chadevansMX/WebService_NTLM) without success. (Also after reviewing the following post: https://mxforum.mendix.com/questions/7902/NTLM-Webservice-Module--Empty-response).
My question is: - What is the best/most standard way to authenticate on a webservice from Microsoft Dynamics AX?
Also suggestions on changing the configuration in Microsoft Dynamics AX are very welcome to get the authentication working!