Silverlight 4 + RIA Services - Ready for Business: Exposing WCF (SOAP\WSDL) Services
Continuing in our series , I wanted to touch on how a RIA Services can be exposed as a Soap\WSDL service. This is very useful if you want to enable the exact same business logic\data access logic is available to clients other than Silverlight. For example to a WinForms application or WPF or even a console application. SOAP is a particularly good model for interop with the Java\JEE world as well. First you need to add a reference to Microsoft.ServiceModel.DomainSerivves.Hosting.EndPoints assembly from the RIA Services toolkit. Then you need to edit the endpoints section of the domainserivces config in web.config file. Below I am showing the SOAP and OData endpoints enabled. < system.serviceModel > < domainServices > < endpoints
Read More...
Read the complete post at http://blogs.msdn.com/brada/archive/2010/03/29/silverlight-4-ria-services-ready-for-business-exposing-wcf-wsdl-services.aspx