I have AOS working OK in LAN server. I have IIS installed in DMZ server. I have installed ax component "web services on IIS" on DMZ server. I created new site in IIS (should I add applications or pools or something in them? Or everything should be created during inbound port activate?). I added this new site to AX System administration/Setup/Services and Application Integration Framework/Web sites, and it validates OK.
Being on DMZ server I can access webservices through wsdl uri local addresses like http://[localServerNameOrIP]:[8104orOtherPort]/DynamicsAx/Services/AssetDepRateExpImp
When I try to create in AX new outbound port (adapter http) and activate it - a new subfolder is created in DMZ server in C:\Program Files\Microsoft Dynamics AX\60\AifWebServices-test - subfolder name is the same as newly created http outbound port name. But nothing is created in C:\inetpub\wwwroot\[myInternetDomainNameOfNewIISsite] (maybe nothing shoud be created?). I cannot access the internet-style address of this webservice. I try the address which is found in WSDL URI field of newly created inbound port. (It says this page can't be displayed).
Probably I am missing something in AOS<>IIS<>IIS sites and their configurations/pool/application/virtual folders<>AOS users and rights?<>IIS users or run as?<>business connector proxy account in AX?<>business connector settings in ax client configuration utility?<>wcf configuration or its refresh in ax client config utility?<>Inbound ports configuration?.
I searched through internet, but I could find only separate instructions for each element (separately aos, separately iis, separately component web services for iis), or people talk about having iis on the same server where aos is (which is NOT my case. My case is AOS inside LAN, IIS - in DMZ, only some aostcp/wsdl ports forwarded like 271*,810*,820*).
PS. when on DMZ server, in Microsoft Dynamics AX Configuration Utility I press Refresh Configuration - it thinks long then gives error:
Regenerate WCF configuration
An error occured while regenerating WCF configuration:
Exception occured on the metadata service on client or server. See exception details below:
>A call to SSPI failed, see inner exception.
No other details are given (nothing in Event Viewer also). I tried to google for such error - but nothing sensible found. But AX client works OK.
Actually I have several AOSes in LAN, and I would like to have several IIS sites, each giving access to webservices from their aos only. But first of all - I can't even make one webservice work to outside :(
Please help, give any ideas.
*This post is locked for comments
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156