Re: Ksoap digest, Vol 1 #220 - 2 msgs

"Geetha P Eringathodi" <[email protected]> Wed, 23 Oct 2002 07:08:39 +0000
Newsgroups gmane.comp.java.enhydra.ksoap
Message-ID <[email protected]>
Stephan,
I guess it was indeed becoz of chunked encoding.
MIDP spec requires that support for HTTP 1.1 be provided (which includes 
support of chunked encoding). If the message is over 2K by default, 
Transfer-Encoding is set to chunked

So switiching to Tomcat 4.0 which is HTTP 1.1 compliant from version 3.3.1 
solved the problem.
Thanks
Geetha







>From: [email protected]
>Reply-To: [email protected]
>To: [email protected]
>Subject: Ksoap digest, Vol 1 #220 - 2 msgs
>Date: Wed, 23 Oct 2002 00:02:20 -0700
>
>Send Ksoap mailing list submissions to
>	[email protected]
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://www.enhydra.org/mailman/listinfo.cgi/ksoap
>or, via email, send a message with subject or body 'help' to
>	[email protected]
>
>You can reach the person managing the list at
>	[email protected]
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Ksoap digest..."
>
>
>Today's Topics:
>
>    1. Ksoap and base64 type (delisle)
>    2. Re: Ksoap digest, Vol 1 #219 - 3 msgs (Geetha P Eringathodi)
>
>--__--__--
>
>Message: 1
>Date: Mon, 21 Oct 2002 18:09:09 +0100
>From: delisle <[email protected]>
>Organization: fotango
>To: [email protected]
>Subject: Ksoap:  Ksoap and base64 type
>Reply-To: [email protected]
>
>hello,
>I would like to send a request with inside a base64 type
>
><n2:echoBase64 id="o0" SOAP-ENC:root="1">
><content xsi:type="SOAP-ENC:base64">AA////QAQAFf</content>
></n2:echoBase64>
>
>I don't know how to do this
>
>help me please,
>
>Thanks an advance
>Ed
>
>
>
>--__--__--
>
>Message: 2
>From: "Geetha P Eringathodi" <[email protected]>
>To: [email protected]
>Date: Tue, 22 Oct 2002 18:25:29 +0000
>Subject: Ksoap:  Re: Ksoap digest, Vol 1 #219 - 3 msgs
>Reply-To: [email protected]
>
>Stephan,
>Thanks for your reply. The characters are :
>(some characters in the begining and a 0 in the end)
>
>example 1:
>..........
>cec
><SOAP-ENV:Envelope......
>
></SOAP-ENV:Body></SOAP-ENV:Envelope>0
>
>example 2:
>-----------
>
>
>d9f
>
>
><SOAP-ENV:Envelope...................
></SOAP-ENV:Body></SOAP-ENV:Envelope>
>0
>
>geetha
>
>
>
>
>
> >From: [email protected]
> >Reply-To: [email protected]
> >To: [email protected]
> >Subject: Ksoap digest, Vol 1 #219 - 3 msgs
> >Date: Tue, 22 Oct 2002 00:02:21 -0700
> >
> >Send Ksoap mailing list submissions to
> >	[email protected]
> >
> >To subscribe or unsubscribe via the World Wide Web, visit
> >	http://www.enhydra.org/mailman/listinfo.cgi/ksoap
> >or, via email, send a message with subject or body 'help' to
> >	[email protected]
> >
> >You can reach the person managing the list at
> >	[email protected]
> >
> >When replying, please edit your Subject line so it is more specific
> >than "Re: Contents of Ksoap digest..."
> >
> >
> >Today's Topics:
> >
> >    1. SOAP Server (Mark Rovinsky)
> >    2. Re: SOAP Server (Stefan Haustein)
> >    3. Re: Error in sending Soap Messages (size > 2K) (Stefan Haustein)
> >
> >-- __--__--
> >
> >Message: 1
> >From: "Mark Rovinsky" <[email protected]>
> >To: <[email protected]>
> >Date: Sun, 20 Oct 2002 21:45:38 +1000
> >Subject: Ksoap:  SOAP Server
> >Reply-To: [email protected]
> >
> >Is there a container to run the SoapServlet on J2ME?
> >Can I handle SOAP requests using kSOAP on J2ME?
> >
> >Cheers,
> >
> >Mark
> >
> >
> >-- __--__--
> >
> >Message: 2
> >Date: Mon, 21 Oct 2002 19:54:43 +0200
> >From: Stefan Haustein <[email protected]>
> >Organization: Univ. Dortmund FB 4 LS 8
> >To: [email protected]
> >Subject: Re: Ksoap:  SOAP Server
> >Reply-To: [email protected]
> >
> >Mark Rovinsky wrote:
> > > Is there a container to run the SoapServlet on J2ME?
> > > Can I handle SOAP requests using kSOAP on J2ME?
> >
> >That seems difficult, since most J2ME devices do not support server
> >sockets.
> >Thus, you'd need a proxy (see e.g. khttp.enhydra.org).
> >
> >I think I have been using khttp for earlier versions of the interop
> >test....
> >
> >Best,
> >Stefan
> >
> >
> >--
> >Stefan Haustein
> >Univ. Dortmund, FB 4, LS 8   tel: +49 231 755 2499
> >Baroper Str. 301             fax: +49 231 755 5105
> >D-44221 Dortmund (Germany)   www-ai.cs.uni-dortmund.de
> >
> >
> >
> >
> >
> >
> >-- __--__--
> >
> >Message: 3
> >Date: Mon, 21 Oct 2002 19:56:24 +0200
> >From: Stefan Haustein <[email protected]>
> >Organization: Univ. Dortmund FB 4 LS 8
> >To: [email protected]
> >Subject: Re: Ksoap:  Error in sending Soap Messages (size > 2K)
> >Reply-To: [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
> >
> >
> >
> >-- __--__--
> >
> >_______________________________________________
> >Ksoap mailing list
> >[email protected]
> >http://www.enhydra.org/mailman/listinfo.cgi/ksoap
> >
> >
> >End of Ksoap Digest
>
>
>_________________________________________________________________
>Surf the Web without missing calls! Get MSN Broadband.
>http://resourcecenter.msn.com/access/plans/freeactivation.asp
>
>
>
>--__--__--
>
>_______________________________________________
>Ksoap mailing list
>[email protected]
>http://www.enhydra.org/mailman/listinfo.cgi/ksoap
>
>
>End of Ksoap Digest


_________________________________________________________________
Unlimited Internet access for only $21.95/month.  Try MSN! 
http://resourcecenter.msn.com/access/plans/2monthsfree.asp