Commit Graph
2 Commits
Author SHA1 Message Date
Martin Baulig c1b505c0ca [WCF]: Implement and improve missing WsdlExporter pieces.
* We now export simple <wsp:Policy>, currently supporting only
  those elements that WsdlImporter can import.

  WsdlImporter:
  https://github.com/mono/mono/commit/cdc98dba1b83341c25a1daab4ae7c217d4961ad1

* Implement `MetadataExporter.Errors' and use it for error
  reporting.

* Fixed WsdlExporter's caching to correclty deal with duplicate
  ExportContract() and ExportEndpoint() calls.

* Emit <soap12:operation> 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 <soap:operation> / <soap12:operation>
  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.
2012-12-05 23:58:12 +01:00
Carlos Alberto Cortez 4ba9634043 Add IPolicyExportExtension tests for classes in System.ServiceModel.Channels.
* CustomPolicyConversionContext.cs: New file, containing a dummy
	child of PolicyConversionContext.
	* MsmqBindingElementBaseTest.cs: New test file.
	* ConnectionOrientedTransportBindingElementTest.cs: New test file.
	* HttpTransportBindingElementTest.cs: Add IPolicyExportExtension
	tests.
2010-11-04 21:20:54 +01:00