Archive for 'WCF' Category

WCF RIA Service: Pass Array, List or Collection as parameter to Invoke method.

By admin - Last updated: Tuesday, December 7, 2010

RIA Service is great WCF service library for Silverlight client, however, I found there are some limitations around customized object. Such as Passing an array, list or collection as parameter to the service method. For example, in RIA service class, public void ProcessProducts(Product[] products) { // code here } Well, this is not allowed by […]

WCF POX, JSON and SOAP Coexist

By admin - Last updated: Monday, August 16, 2010

Sometimes, we want to make a service available in different protocols so that clients could have an option to choose one of their favorite methods to consume the web services. Here we are going to talk about how to make one WCF service available in POX(Plain Old XML as XML for short), JSON and SOAP […]

WCF Soap11 vs Soap11WSAddressing10 vs Soap11WSAddressingAugust2004 vs Soap12 vs Soap12WSAddressing10 vs Soap12WSAddressingAugust2004

By admin - Last updated: Sunday, February 22, 2009

I’ve done some quick test on WCF interoperability of the SOAP versions and WSAddressing. SOAP 1.1 vs SOAP 1.2 SOAP 1.2 is an extended version of SOAP 1.1, it does everything that SOAP 1.1 offers, SOAP 1.2 provides clear processing model and it is based on XML infoset, it has no dependency on the underlying […]

WCF WSDL & xsd:import schemaLocations link to local machine name not domain name while hosted in IIS

By admin - Last updated: Saturday, February 21, 2009

When WCF svc web services hosted in IIS, the links within WSDL for xsd schemaLocations uses local machine name, the will cause issues when 3rd parties try to obtain the complete WSDL reference from the server unless they modify the main WSDL file to change those schemaLocations links to use domain name for the xsd:import. […]

WCF Could not establish trust relationship for the SSL/TLS secure channel with authority

By admin - Last updated: Saturday, February 21, 2009

I saw people ask questions on the forums regarding to “Could not establish trust relationship for the SSL/TLS secure channel with authority” while attempting to call the web service via a host domain name other than the one specified in Issue-To within the SSL certificate. Most likely you are using the same certificate for the […]

WCF BasicHttpBinding equivalent CustomBinding

By admin - Last updated: Wednesday, August 6, 2008

In real world , web service of WCF in basichttpbinding might not be flexible enough to meet enterprise application requirements. What programmers are looking at is a more robust way of developing web service application in WCF. CustomBinding as the name describes that it alllows users design their own web service binding. At the point, […]