Hello, I have a weird problem calling Custom Services(Web Services) from ASP.NET MVC application running in the same AX host where AOS is running my Custom Services.
I have made a simple Console based Application calling my Custom Services. Configuration in this Console Application is exactly same that it is in MVC based Web Application. When I run Console Application in same Host where Custom Services are, calling Custom services works fine, but when running Web Application in same Host’s IIS calling those same Custom Services I get error that ‘connection is refused’.
So what is the difference running Console Application or Web Application in same Host? Only what I know are permissions etc what comes when logging into system with user’s account or what are the permissions for Web Application or it’s pool running under IIS in same Host.
Have any of you any ideas how to solve this problem?
My Custom Sevices running under AOS have default Security settings like shown in the picture below
Config files in Web Application and Console Application are identical what comes to Web Service usage settings
<?xml version="1.0" encoding="utf-8" ?> **** ****I also use same proxy .cs class both Console and Web Application which are created with svcutil.
Thanks,
Mike