asp .net 2.0 web service post large string

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top