web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to make AX 2012 webservices available from internet. IIS server can access webservices on lan AOS through local wsdl uri addresses, but I can't make them available outside through http.

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans