* WebHttpBehavior.cs : set FilterPriority to make it in higher
priority than conflicting endpoints (such as mex endpoint).
svn path=/trunk/mcs/; revision=153876
+2010-03-19 Atsushi Enomoto <atsushi@ximian.com>
+
+ * WebHttpBehavior.cs : set FilterPriority to make it in higher
+ priority than conflicting endpoints (such as mex endpoint).
+
2010-03-16 Jb Evain <jbevain@novell.com>
* WebHttpBehavior.cs: use MOONLIGHT symbol to
{
endpointDispatcher.DispatchRuntime.OperationSelector = GetOperationSelector (endpoint);
// FIXME: get HostNameComparisonMode from WebHttpBinding by some means.
+ endpointDispatcher.FilterPriority = 1; // It is to take higher priority than that of ServiceMetadataExtension (whose URL likely conflicts with this one).
endpointDispatcher.AddressFilter = new PrefixEndpointAddressMessageFilter (endpoint.Address);
endpointDispatcher.ContractFilter = new MatchAllMessageFilter ();
AddServerErrorHandlers (endpoint, endpointDispatcher);