Hello,
I am attempting to setup an Inbound port so I can expose a web service to our vendor and allow them to send us some data. Initially I'm just trying to get the web service running on our test server through AIF.
Here is what I have:
IIS is installed on the test server.
The default web site setup through AX (2012).
Virtual directory share path: C:\Program Files\Microsoft Dynamics AX\60\AifWebServices
URL: https://localhost/MicrosoftDynamicsAXAif60
Validate - successful
Inbound Port:
Name - TestServices
Enhanced - HTTP
URI: https://localhost/MicrosoftDynamicsAXAif60/TestServices/xppservice.svc
When I try to active this port, these files are created:
C:\Program Files\Microsoft Dynamics AX\60\AifWebServices\Bin\microsoft.dynamics.ax.sevices.testservices.dll
C:\Program Files\Microsoft Dynamics AX\60\AifWebServices\TestServices
web.config (empty - only a 0 in the file)
xppservice.svc
I also receive this error when trying to active the port:
System.OperationCanceledException: AIF service group not activated. Service group: WBMServices. Error: Cannot load the X.509 certificate identity specified in the configuration. ---> System.InvalidOperationException: Cannot load the X.509 certificate identity specified in the configuration.
Some of the files are being created in the AifWebServices folder/sub folder, so I don't think it's a permissions issue or I suspect that none of the files would be created. But for some reason the web.config file is not be created correctly. Not sure if the activation is failing because the web.config is empty or if the web.config is empty because the activation failed.
The X.509 seems to refer to the endpoint, which should be in the web.config.
Any ideas?
Thanks,
Greg