P
phaniva
Hi,
I have a ASP .Net 2.0 web service on Win 2k SP4. One of the web methods
expects a string as input like
public string mymethod(string inp);
I am trying to invoke this web method through HTTP post (I have to do
this as I have an old java client). When I post large string as input,
my input gets truncated and the web service always sees about 56k only.
I was posting something like 112k string.
In my web.config I have set maxrequestlength to 10mb. I have also set
MaxClientRequestBuffer to 4mb. I did restart IIS and even computer
after changing above values. But my web method always sees only about
56k of input. When I checked contentlength property, web service showed
it to be more than the length of input read.
Any ideas on how to post large strings to asp .net web methods.
thanks for the help
I have a ASP .Net 2.0 web service on Win 2k SP4. One of the web methods
expects a string as input like
public string mymethod(string inp);
I am trying to invoke this web method through HTTP post (I have to do
this as I have an old java client). When I post large string as input,
my input gets truncated and the web service always sees about 56k only.
I was posting something like 112k string.
In my web.config I have set maxrequestlength to 10mb. I have also set
MaxClientRequestBuffer to 4mb. I did restart IIS and even computer
after changing above values. But my web method always sees only about
56k of input. When I checked contentlength property, web service showed
it to be more than the length of input read.
Any ideas on how to post large strings to asp .net web methods.
thanks for the help