This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Subject: Problem authenticating with Dynamics Nav web service from LotusScript
Feedback Type: Problem
Product Area: Notes Client
Technical Area: Application Development
Platform: Windows
Release: 8.5.2
Reproducible: Always
Running Lotus Notes Domino 8.5.2. I have created a LotusScript web service consumer from a wsdl provided by a Microsoft Dynamics Nav server.
In a LotusScript agent I have this code:
Dim nav As New Noteswebservice_port_n2()
Call nav.Setcredentials("DOMAIN\username", "password")
Dim res As String
res = nav.Createorder("123", "", "test", "CH")
The problem is that I get 401 Unauthorized, when calling CreateOrder.
I have tested the web service from Visual Studio, and it works with the same credentials as used in the agent.
I suspect that Lotus Domino and Dynamics doesn't use the same authentication method. I have tried to enable NTLM on Dynamics, but same result. I have no idea what to do next.
Any ideas?
Feedback number WEBB9ZQLBN created by ~Sigmund Chuboosibergnivu on 08/25/2015
Status: Open
Comments: