10 references to Response
System.ServiceModel.Web (10)
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (9)
249MessageHelpInformation info = isRequest ? operationInfo.Request : operationInfo.Response; 304if (operationInfo.Response.XmlExample != null) 306element.Add(GenerateSampleXml(operationInfo.Response.XmlExample, SR2.GetString(SR2.HelpPageXmlResponse), HtmlResponseXmlId)); 308if (operationInfo.Response.JsonExample != null) 310element.Add(AddSampleJson(operationInfo.Response.JsonExample, SR2.GetString(SR2.HelpPageJsonResponse), HtmlResponseJsonId)); 325if (operationInfo.Response.Schema != null) 327element.Add(GenerateSampleXml(XmlSchemaToXElement(operationInfo.Response.Schema), SR2.GetString(SR2.HelpPageResponseSchema), HtmlResponseSchemaId)); 329foreach (XmlSchema schema in operationInfo.Response.SchemaSet.Schemas()) 331if (schema.TargetNamespace != operationInfo.Response.Schema.TargetNamespace)
System\ServiceModel\Dispatcher\HelpPage.cs (1)
179if (this.Response.SupportsJson && this.Method == WebHttpBehavior.GET)