20 references to RequestResponseUtils
System.Web.Services (20)
System\Web\Services\Discovery\ContractReference.cs (1)
222
XmlTextReader reader = new XmlTextReader(new StreamReader(stream,
RequestResponseUtils
.GetEncoding(contentType)));
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (2)
254
string errorMessage =
RequestResponseUtils
.CreateResponseExceptionString(httpResponse);
282
return
RequestResponseUtils
.StreamToMemoryStream(responseStream);
System\Web\Services\Discovery\DiscoveryDocumentReference.cs (3)
139
XmlTextReader reader = new XmlTextReader(new StreamReader(stream,
RequestResponseUtils
.GetEncoding(contentType)));
174
XmlTextReader reader = new XmlTextReader(new StreamReader(stream,
RequestResponseUtils
.GetEncoding(contentType)));
186
XmlTextReader newReader = new XmlTextReader(new StreamReader(stream,
RequestResponseUtils
.GetEncoding(contentType)));
System\Web\Services\Protocols\HttpClientProtocol.cs (1)
331
throw new WebException(
RequestResponseUtils
.CreateResponseExceptionString(httpResponse, responseStream), null,
System\Web\Services\Protocols\RequestResponse.cs (2)
56
if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(
RequestResponseUtils
), "GetEncoding", ex);
81
if (Tracing.On) Tracing.ExceptionCatch(TraceEventType.Warning, typeof(
RequestResponseUtils
), "GetEncoding2", ex);
System\Web\Services\Protocols\SoapClientProtocol.cs (6)
265
Encoding enc = message.SoapVersion == SoapProtocolVersion.Soap12 ?
RequestResponseUtils
.GetEncoding2(message.ContentType) :
RequestResponseUtils
.GetEncoding(message.ContentType);
598
throw new WebException(
RequestResponseUtils
.CreateResponseExceptionString(httpResponse, responseStream), null,
620
throw new WebException(
RequestResponseUtils
.CreateResponseExceptionString(httpResponse, responseStream), null,
625
RequestResponseUtils
.CreateResponseExceptionString(response, responseStream));
636
bufferSize =
RequestResponseUtils
.GetBufferSize((int)httpResponse.ContentLength);
System\Web\Services\Protocols\SoapServerProtocol.cs (3)
272
Encoding enc =
RequestResponseUtils
.GetEncoding2(message.ContentType);
857
Encoding enc =
RequestResponseUtils
.GetEncoding2(Message.ContentType);
867
XmlReader reader = GetReaderForMessage(Message,
RequestResponseUtils
.GetBufferSize(Request.ContentLength));
System\Web\Services\Protocols\TextReturnReader.cs (1)
27
string decodedString =
RequestResponseUtils
.ReadResponse(response);
System\Web\Services\Protocols\XmlReturnReader.cs (1)
118
Encoding e =
RequestResponseUtils
.GetEncoding(response.ContentType);