21 references to Xml
System.ServiceModel.Web (21)
System\ServiceModel\Configuration\WebHttpElement.cs (1)
66properties.Add(new ConfigurationProperty(WebConfigurationStrings.DefaultOutgoingResponseFormat, typeof(System.ServiceModel.Web.WebMessageFormat), System.ServiceModel.Web.WebMessageFormat.Xml, null, new System.ServiceModel.Configuration.InternalEnumValidator(typeof(System.ServiceModel.Web.WebMessageFormatHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\WebHttpEndpointElement.cs (2)
125[ConfigurationProperty(WebConfigurationStrings.DefaultOutgoingResponseFormat, DefaultValue = WebMessageFormat.Xml)] 164properties.Add(new ConfigurationProperty(WebConfigurationStrings.DefaultOutgoingResponseFormat, typeof(System.ServiceModel.Web.WebMessageFormat), System.ServiceModel.Web.WebMessageFormat.Xml, null, new System.ServiceModel.Configuration.InternalEnumValidator(typeof(System.ServiceModel.Web.WebMessageFormatHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Description\WebHttpBehavior.cs (5)
36defaultOutgoingRequestFormat = WebMessageFormat.Xml; 37defaultOutgoingReplyFormat = WebMessageFormat.Xml; 267replyDispatchAsMultiplexing.DefaultContentTypes.Add(WebMessageFormat.Xml, xmlContentType); 629formatters.Add(WebMessageFormat.Xml, SingleBodyParameterMessageFormatter.CreateDispatchFormatter(operationDescription, parameterType, false, false, this.xmlSerializerManager, null)); 639formatters.Add(WebMessageFormat.Xml, GetDefaultDispatchFormatter(operationDescription, false, !IsBareResponse(style)));
System\ServiceModel\Dispatcher\HelpPage.cs (7)
321this.FormatString = WebMessageFormat.Xml.ToString(); 326this.FormatString = WebMessageFormat.Xml.ToString(); 331this.FormatString = WebMessageFormat.Xml.ToString(); 336this.FormatString = WebMessageFormat.Xml.ToString(); 341this.FormatString = WebMessageFormat.Xml.ToString(); 346this.FormatString = WebMessageFormat.Xml.ToString(); 351this.FormatString = WebMessageFormat.Xml.ToString();
System\ServiceModel\Dispatcher\MultiplexingDispatchMessageFormatter.cs (2)
93if (!string.Equals(automatedSelectionContentType, defaultContentTypes[WebMessageFormat.Xml], StringComparison.OrdinalIgnoreCase)) 101if (format != WebMessageFormat.Xml)
System\ServiceModel\Dispatcher\WebErrorHandler.cs (2)
70WebMessageFormat? nullableFormat = !isXmlSerializerFaultFormat ? context.OutgoingResponse.Format : WebMessageFormat.Xml; 79case WebMessageFormat.Xml:
System\ServiceModel\Dispatcher\XmlFormatMapping.cs (1)
31get { return WebMessageFormat.Xml; }
System\ServiceModel\Web\WebMessageFormatHelper.cs (1)
11return (format == WebMessageFormat.Xml || format == WebMessageFormat.Json);