Re: Error in sending Soap Messages (size > 2K)
Stefan Haustein <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.ksoap |
|---|---|
| Organization | Univ. Dortmund FB 4 LS 8 |
| Message-ID | <[email protected]> |
Geetha P Eringathodi wrote:
> Hi,
> I have a problem while sending a SoapMessage (size > 2048) from a midp
> client to a servlet running on Tomcat.
> Is there a limitation to the size of the message on post / get ?
>
> If, In HttpTransport.java we have,
> connection.setRequestProperty ("User-Agent", "kSOAP/1.0"); then no
> exceptions are thrown but the resultant SoapMessage is
> corrupted(Characters added before and after SoapEnvelope tag)
>
> if it is changed to
> connection.setRequestProperty ("User-Agent", "Profile/MIDP-1.0
> Configuration/CLDC-1.0"); then an IOException is thrown
>
> Any ideas how to deal with sizes greater than 2K.
I am not sure.... perhaps this problem is related to chunked encoding?
can you send a wire dump of the additional characters which are sent
to the server?
Best,
Stefan