RE: HttpException: Maximum request length exceeded

by "Narayanan on 11/21/2007 6:22:00 AM
> HI,
>
> in one of my webservices I need to provide a string to the consuming
> application that can become really large (depending on user input).
> Unfortunately, if the string becomes too long, the following error occurrs:
>
> System.Web.Services.Protocols.SoapException was unhandled
> Actor=""
> Lang=""
> Message="System.Web.Services.Protocols.SoapException: There was an
> exception running the extensions specified in the config file. --->
> System.Web.HttpException: Maximum request length exceeded.
> at System.Web.HttpRequest.GetEntireRawContent()
> at System.Web.HttpRequest.get_InputStream()
> at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
> --- End of inner exception stack trace ---
> at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
> at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type,
> HttpContext context, HttpRequest request, HttpResponse response, Boolean&
> abortProcessing)"
> Node=""
> Role=""
> Source="System.Web.Services"
> StackTrace:
> at
> System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
> at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
> methodName, Object[] parameters)
>
> How can I transport this string anyway - especially as I cannot limit the
> string length?
>
> Best wishes,
>
> Peter

Thanks it's working fine...

BizTalk Utilities - Frustration free BizTalk Adapters
http://www.topxml.com/biztalkutilities