Commit Graph
6 Commits
Author SHA1 Message Date
Martin Baulig b983c5c7fa [WCF]: Support embedded <wsp:Policy> elements. 2012-12-03 09:18:29 +01:00
Martin Baulig cdc98dba1b [WCF]: Implement missing WsdlImporter pieces.
The WsdlImporter can now import Bindings and Endpoints
from the WSDL, currently supporting BasicHttpBinding,
BasicHttpsBinding and NetTcpBinding.

There is also - limited and still experimental - support
for WS-Policy 1.5.  I only did the very basic pieces so
far, for instance things like TransportWithMessageCredentials
are not supported yet.

The policy importer will emit lots of warnings via
`MetadataImporter.Errors` (as warnings, not errors) whenever
it encounters something that it doesn't understand and
is also forgiving towards unknown and/or mal-formed
policy assertions.

This behavior is different from the MS runtime, which is
very strict, but there are simply too many missing pieces
to be more pedentic here.  Check whether Errors.Count == 0
to see whether all policy assertions have been correctly
imported.

There are also a few metadata samples, which are part of the
new nunit tests.  These are currently working:

  BasicHttp.xml, BasicHttp_Mtom.xml, BasicHttp_NtlmAuth.xml,
  BasicHttp_TransportSecurity.xml, BasicHttps.xml,
  BasicHttps_NtlmAuth.xml, NetTcp.xml, NetTcp_TransferMode.xml,
  NetTcp_TransportSecurity.xml

There are a few more in the Tests/MetadataTests/Resources/
directory which demonstrate missing pieces.
2012-11-27 02:30:54 +01:00
Atsushi Eno 871ad48b98 Implement XmlSerializerMessageContractImporter, round 2.
This time it is XmlSerializer-based, got it somewhat working.
2011-05-14 01:28:03 +09:00
Atsushi Eno 404dea03e0 Implement WsdlContractConversionContext, and ignore message importer for now. 2011-05-13 21:46:24 +09:00
Atsushi Eno 828daf152c 2010-02-23 Atsushi Enomoto <[email protected]>
* WsdlImporter.cs : handle soapAction in operation binding too.
	  Now it successfully generates proxy generation for Twitterlight:
	  http://twitterlight.claritycon.com/TwitterWebService.asmx?WSDL


svn path=/trunk/mcs/; revision=152245
2010-02-23 01:30:42 +00:00
Jb Evain bdd0809c70 move to from olive to mcs
svn path=/trunk/mcs/; revision=111187
2008-08-20 21:24:37 +00:00