mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
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.