When calling web service by passing input xml file size > 50kb

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?U3Jp?=

    When calling web service by passing input xml file size > 50kb

    We have web services on windows 2003 server. I'm consuming one of the web
    service method. For that I've written VS2008 C# windows application. When I
    pass my input xml file to the web service method with less than 25k. web
    services method working fine. It it is more than 50k I'm getting following
    error. Could any one kindly help me on this. I've been struggling on this
    past 2 days.

    Method Execution encounter problem ! at
    System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.ReadRes ponse(SoapClien tMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
    at System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.Invoke( String
    methodName, Object[] parameters)
  • =?Utf-8?B?U3Jp?=

    #2
    RE: When calling web service by passing input xml file size > 50kb

    Never min I figured out the solution in IIS6.0

    The following command shows how to set the value for UploadReadAhead Size to
    200KB on the Web server.

    cscript adsutil.vbs set w3svc/1/uploadreadahead size 200

    You can use IISMetaDataEdit or to set this


    "Sri" wrote:
    We have web services on windows 2003 server. I'm consuming one of the web
    service method. For that I've written VS2008 C# windows application. When I
    pass my input xml file to the web service method with less than 25k. web
    services method working fine. It it is more than 50k I'm getting following
    error. Could any one kindly help me on this. I've been struggling on this
    past 2 days.
    >
    Method Execution encounter problem ! at
    System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.ReadRes ponse(SoapClien tMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
    at System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.Invoke( String
    methodName, Object[] parameters)

    Comment

    Working...