I keep getting this error when trying to consume a document web service in AX 2012 from a .Net web app that I wrote in C#. I set the web service in AX to run with the HTTP adapter. I am running it over an SSL connection and the ssl certificate is self-signed.
How do you send your AX credentials to the web service when consuming it externally? I do not want to use the Business Connector since it is going away and you’re supposed to be able to do this without the BC. Any help is appreciated.
Here is my web.config:<?xml version="1.0" encoding="utf-8" ?> <add
type=“Microsoft.Dynamics.Ax.Services.Host.ClientEndpointBehaviorExtension, Microsoft.Dynamics.IntegrationFramework.WebService.Process, Version=22.214.171.124, Culture=neutral, PublicKeyToken=31bf3856ad364e35” />