<transport> tag within the ServicesReferences.ClientConfig

Posted by jdiaz on Stack Overflow See other posts from Stack Overflow or by jdiaz
Published on 2009-05-25T23:21:00Z Indexed on 2010/04/23 6:53 UTC
Read the original article Hit count: 285

Filed under:
|

I've created a WCF service and added it to an existing Silverlight application that I am working on.

When I run the silverlight application in debug mode it fails when I reference the WCF web service.

Unrecognized element '' in service reference configuration. Note that only a subset of the Windows Communication Foundation configuration functionality is available in Silverlight.

After searching around apparently the following line is causing the app to fail:

<transport>
   <extendedProtectionPolicy policyEnforcement="Never" />
</transport>

After removing the above lines everything works. What is the issue here? Should I believing this code in and configuring something else?

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about wcf