WSDL-First in WCF, versus WSDL-First in ASMX

I wanted to point something out regarding the WSDL-First item I posted yesterday.  This is a look at the interface generated by the SvcUtil.exe tool for WCF.     [System.CodeDom.Compiler.GeneratedCodeAttribute(“System.ServiceModel”, “3.0.0.0”)]     [System.ServiceModel.ServiceContractAttribute(Namespace=”urn:Microsoft.Search”,         ConfigurationName=”Ionic.Samples.Webservices.Sep21.IResearchServiceSoap”)]     public interface IResearchServiceSoap     {           [System.ServiceModel.OperationContractAttribute(Action=”urn:Microsoft.Search/Registration”,           ReplyAction=””)]         [System.ServiceModel.XmlSerializerFormatAttribute()]         string Registration(string registrationXml);          …

0

WSDL-First development with WCF

A couple weeks ago I mentioned that you could do WSDL-First development with WCF, but I didn’t go into detail as to how that would work.  Somebody asked, so I guess I’ll describe the specific steps. I want to use a real scenario, so for a WSDL, I will use the WSDL that Microsoft defines…

15

Flatten your WSDL with this Custom ServiceHost for WCF

Yesterday I mentioned using a custom service host to flatten the WSDL that is generated by a WCF service.  This is something Christian showed us all how to do a long while ago, to improve interoperability between WCF-implemented services and consumers written on other technology stacks.  Flattening WSDL is important for Interop purposes becausse many…

9

Custom Config file for a WCF Service hosted in IIS

I am constantly developing new WCF services to try out various techniques, ideas, scenarios. Many times for these quickie WCF applications I will just use a text editor to write the code.  As you know there are multiple options for hosting your WCF services.  For these quick apps, I will typically write a simple custom console…

4

WADL and WSDL and REST, oh my!

Hernan Garcia made an interesting comment on my post of yesterday:  For REST, there is an alternative to the WSDL in SOAP and it is WADL. Good point Mr Garcia – The adoption and practical utility of WADL is worth watching.  The question for me becomes whether WADL+REST is actually better than WSDL+SOAP, or just different.  Whether…

3

WCF and Apache AXIS interop

I’m getting back to building and publishing working examples. My latest is a working example of a WCF client communicating with an Apache AXIS 1.4 server, using web services.  You can find it here.  There’s full source code available. This one shows complex types with nesting being transferred between AXIS and WCF.  There’s no Security…

12

Improving WCF interop with Websphere/RAD by controlling WSDL Generation

I wrote about Christian’s foray into this area a while back. Now comes news that other people are confronting the same issue, but with Websphere or Rational App Developer. Here’s the problem: WCF emits WSDL that is modular – the base WSDL file references other WSDLs and XSDs which are external.  Christian found out that…

1

Interop between ASMX and WCF Services

My esteemed colleague, Kevin, is working on a project where the customer has a bunch of ASP.NET (ASMX) web services, and they are looking at migrating to WCF. The customer’s goal is simplicity: in stage 1, they’d like to keep their ASMX files, keep the IIS hosting, but add a .svc file to also host…

9