How is your experience with the OutSystems Community?
28
Views
2
Comments
Consuming SOAP with NTLM in ODC using external C# logic

Dear all,

hopefully you already had the same experience and find a solution.

Using ODC, we need to consume a Microsoft Dynamics Service which has a BasicHttpBinding with NTLM authentication.
Also this service is behind a ODC private gateway, but locally (on laptop) reachable with VPN.
In VisualStudio we created the C# code, which works fine (locally on the laptop).
Using this code as an "External Logic" in ODC (obviousy using the secure/private gateway endpoint) somehow the we always get a 401 (not authorized).
The WSDL is reachable from ODC, but every POST request is failing.
Indeed we could set the BasicHttpBinding without security, but somebody any ideas? 
Best regards,
Jeroen Vormer

2019-03-18 10-26-38
Jeroen Vormer

Just for now I'm waiting for OutSystems support.
The current OutSystems Cloud Connector is not supporting NTLM.

UserImage.jpg
sheetal patange

Hi @Jeroen Vormer , 

I am also facing same issue, Service is behind private gateway, I have created c# library too. and also getting 401 unauthorized error. 

Let me know if resolved this issue.

Thanks,

Sheetal

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.