Hi there, I tried this example and it worked well under the VS2010 development environment. However, it always generated errors on the client side after being deployed to my IIS default web site. The error message suggest that a cross-domain policy isn't set in place. I put both crossdomain.xml and clientaccesspolicy.xml files at root of my IIS default web site, it didn't work either. However, there is no problem to access the service via tool WCF Test Client, i.e. all requests were replied with correct results. I'm not sure if this is a client issue or a configuration issue. You help is appreciated.
$0Error example:$0
$0An error occurred while trying to make a request to URI 'http://localhost:3420/service1.svc'. This could be due to attempting to access a service in a cross-domain way without a proper cross-domain policy in place, or a policy that is unsuitable for SOAP services. You need to contact owner of the service ...$0
$0$0
$0
$0Update on 05/19/2011$0
$0Just found out that it is a client configuration issue. The URI generated by VS needs to be replaced by the URI of your IIS, i.e. 'http://www.yourdomain.com/service1.svc', when being deployed. Hence, the problem is gone$0