Wednesday, December 5, 2012

WsdlExporter improvements

After last week's WsdlImporter Improvements, I have now finished another batch of changes improving the WsdlExporter.

  • We now export simple , currently supporting only those elements that WsdlImporter can import.
  • Implement  MetadataExporter.Errors and use it for error reporting.
  • Fixed WsdlExporter's caching to correclty deal with duplicate ExportContract() and ExportEndpoint() calls.
  • Emit depending on the binding's MessageVersion
    (FIXME: I didn't implement soap faults yet).
  • MetadataTests: Check whether the policy elements are correct.
  • MetadataTests: Add test containing simple [OperationContract] method for http and net.tcp; checks the /  elements.
  • New test to check WsdlExporter's behavior regarding duplicate contracts and endpoints.
  • ConnectionOrientedTransportBindingElement.cs, CustomBindingTests.cs, HttpTransportBindingElementTest.cs: Added test for custom message encodings.


  As a next step, I'll implement configuration file generation.  The idea is to make MonoDevelop's "Add Service Reference" automatically generate a configuration file, just like Visual Studio does.