Error in sending Soap Messages (size > 2K)
"Geetha P Eringathodi" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.ksoap |
|---|---|
| Message-ID | <[email protected]> |
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.
Thanks in advance,
Geetha
_________________________________________________________________
Unlimited Internet access -- and 2 months free! Try MSN.
http://resourcecenter.msn.com/access/plans/2monthsfree.asp