Using a WCF Service Library from Silverlight

Posted by Ian Oakes on Stack Overflow See other posts from Stack Overflow or by Ian Oakes
Published on 2010-03-25T07:11:28Z Indexed on 2010/03/25 7:13 UTC
Read the original article Hit count: 389

Filed under:
|

I've added a WCF Service Library to a Silverlight project. But when I try calling a method on the service I get a CommunicationException complaining about accessing a service in a cross-domain way.

I've tried adding both a crossdomain.xml and clientaccesspolicyfile.xml to the service library project, but it doesn't help.

Any idea what I'm doing wrong?

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about wcf