Skip to main content
Participant
February 14, 2011
Question

Using Web Service to localhost in IIS works, but remote W/S to IIS does not

  • February 14, 2011
  • 1 reply
  • 827 views

I have built an Air application that connects to a MS CRM web service (port 5555) and it works fine when I am on the server (the web service recognizes the user credentials in .NET function calls), but when I run the AIR app on a workstation and try to connect, the server responds with a 50x error ( authentication). I have tried adding the username and password to the URL and that did not get me any closer to figuring out the problem. I have tried different authentication methods on IIS without success. The client machines are all located in the same Windows Active Directory Domain / local area network with the server - no routing.

We are not exposing any ports to the Internet.

I am using the Web Service classes that are generated using the Flex Builder Data/Import

I am using Flex Builder 3 with the 3.5a version of the Flex framework.

I have installed Flash player with the latest version

the Windows server is running IIS 7 on Server 2008

How do I get a connection that works? (samples anyone?)

Is this an Air configuration issue, or a limitation of the framework?

Does my Air app need to use Anonymous connections to IIS only?

Is there a way for a web service on IIS to identify the user from their Active Directory connection?

This topic has been closed for replies.

1 reply

February 16, 2011

Hello,

In principle, if a web service can be accessed from localhost, it could also be accessed from remote. So perhaps the traffic was blocked by the firewall. Please check the firewall setting of your machine, especially the Windows firewall. You could turn off the firewall for a while and have a try.

And you can use some web service client tool (like soupUI) to test if the web service is accessible to the remote.

Thanks,

Yang