Re: KSoap2 size
"Kappy" <[email protected]> Sun, 11 May 2003 02:30:22 +0100
| Newsgroups | gmane.comp.java.enhydra.ksoap |
|---|---|
| Message-ID | <002a01c3175c$f3b52170$4401a8c0@desktop> |
My problem is not the request... Is the responce. On of my methods returns a variable size array. Thanks Kappy ----- Original Message ----- From: "Stefan Haustein" <[email protected]> To: <[email protected]> Sent: Friday, May 09, 2003 11:04 PM Subject: Re: Ksoap: KSoap2 size > Kappy wrote: > > >ok.. it's true.. > >The restricion is made on my cell phone, nokia 6310i. > >It can not accept any midlet larger then 30Kb. > > > >I need a Soap client for j2me smaller then 20Kb and compatible with .NET > >Any sugestion? > > > If your SOAP request is simple, perhaps using an XML parser/serializer > directly is sufficient for your needs....? > > > > >thks > >Kappy > > > > > >----- Original Message ----- > >From: "Michael Yuan" <[email protected]> > >To: <[email protected]> > >Sent: Friday, May 09, 2003 12:56 AM > >Subject: Re: Ksoap: KSoap2 size > > > > > > > > > >>Where did you get this info? Maybe some very early MIDP phones have > >>restrictions like that. My i95cl phone has more than 640 KB RAM (For any > >>single MIDlet, it has a limit of 160 KB though). The Jeode or IBM MIDP > >>runtimes on my PocketPC can accept MIDP apps larger than 1-2MB. (I am not > >>saying you *should* develop a 2MB MIDlet, though. :) > >> > >>cheers > >>Michael > >>-------------------------------------------------------------------------- > >> > >> > >-- > > > > > >>Read Michael Yuan's technology articles > >>http://www.enterprisej2me.com/articles.php > >>Dr. Dobbs Journal, JavaWorld, IBM developerWorks and more ... > >>-------------------------------------------------------------------------- > >> > >> > >-- > > > > > >>On Fri, 9 May 2003, Kappy wrote: > >> > >> > >> > >>>Hi > >>> > >>>Just a reminder... > >>>MIDP specs don't allow pakages greater than 30KB. > >>>KSoap2 size is 57Kb... > >>>I don't think it will work in MIDP Profile. > >>> > >>>Thks > >>>Kappy > >>>----- Original Message ----- > >>>From: "Kappy" <[email protected]> > >>>To: <[email protected]> > >>>Sent: Thursday, May 08, 2003 11:25 PM > >>>Subject: Ksoap: Re: kSOAP & IIS & .NET (once again) > >>> > >>> > >>> > >>> > >>>>Hi > >>>> > >>>>Thaks for the Tip... > >>>>kSOAP2, with small changes on the XMLPULL worked for me. > >>>>Altrouhgt I've had ro recompile all the source code of xmlpull, > >>>> > >>>> > >kobjects, > > > > > >>>>kxml2 and ksoap because it givies me an error in verification class > >>>> > >>>> > >and > > > > > >>>>stackmap fault. > >>>> > >>>>Thanks a Lot. > >>>>Kappy > >>>> > >>>> > >>>>----- Original Message ----- > >>>>From: "Stefan Haustein" <[email protected]> > >>>>To: <[email protected]> > >>>>Sent: Thursday, May 08, 2003 8:36 PM > >>>>Subject: Re: Ksoap: kSOAP & IIS & .NET (once again) > >>>> > >>>> > >>>> > >>>> > >>>>>Hi Kappy, > >>>>> > >>>>>kSoap should not "see" the HTTP header fields; the Java HTTP > >>>>> > >>>>> > >connection > > > > > >>>>>provides access to header fields in special methods, but not via the > >>>>>content stream. To figure out if this is a client or server side > >>>>>problem, I recommend to try the same sample in another MIDP > >>>>> > >>>>> > >emulation, > > > > > >>>>>e.g. the WTK or the ME4SE. > >>>>> > >>>>>Please note that kSOAP 1.x probably will still not be able to parse > >>>>> > >>>>> > >the > > > > > >>>>>.NET response properly if the server is not configured for the SOAP > >>>>>serialization (you may either change your server configuration or > >>>>> > >>>>> > >better > > > > > >>>>>use kSOAP 2.x) > >>>>> > >>>>>Best, > >>>>>Stefan > >>>>> > >>>>> > >>>>> > >>>>>>Hi. > >>>>>> > >>>>>>I've found a strange error: > >>>>>>In the simplest .NET Framework exemple of a webservice (retrurning > >>>>>> > >>>>>> > >a > > > > > >>>>"Hello > >>>> > >>>> > >>>>>>World" string with no params), being comsumed by kSOAP 1.2 running > >>>>>> > >>>>>> > >with > > > > > >>>>>>nokia 6310 SDK. > >>>>>>The strange is that I've managed to do the correct calling, to the > >>>>>> > >>>>>> > >WS > > > > > >>>but > >>> > >>> > >>>>>>when it begins to parse the responce it throws an ParseException : > >>>>>>unexpected: ParseEvent type=128 text='HTTP/1.1 200 OK Server: > >>>>>>Microsoft-IIS/5.1 Date: Wed, 07 May 2003 19:30:00 GMT > >>>>>> > >>>>>> > >Cache-Control: > > > > > >>>>>>private, max-age=0 Content-Type: text/xml; charset=utf-8 > >>>>>> > >>>>>> > >>>Content-Length: > >>> > >>> > >>>>371 > >>>> > >>>> > >>>>>>' @-1:-1 > >>>>>> > >>>>>>It is normal that it try to parse the HTML headers? > >>>>>>and what about that strange char in the end? "' @-1:-1" > >>>>>>I've used a packed snifer and the server is returning the right > >>>>>> > >>>>>> > >thing: > > > > > >>>>>>HTTP/1.1 200 OK > >>>>>>Content-Type: text/xml; charset=utf-8 > >>>>>>Content-Length: 371 > >>>>>> > >>>>>><?xml version="1.0" encoding="utf-8"?> > >>>>>><soap:Envelope > >>>>>> > >>>>>> > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > > > > >>>>>>xmlns:xsd="http://www.w3.org/2001/XMLSchema" > >>>>>>xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > >>>>>> <soap:Body> > >>>>>> <HelloWorldResponse xmlns="http://desktop/WebService3/"> > >>>>>> <HelloWorldResult>Hello World</HelloWorldResult> > >>>>>> </HelloWorldResponse> > >>>>>> </soap:Body> > >>>>>></soap:Envelope> > >>>>>> > >>>>>>Sorry my bad english... > >>>>>>João Matos Silva > >>>>>>Portugal > >>>>>> > >>>>>> > >>>>>> > >>>>>>_______________________________________________ > >>>>>>Ksoap mailing list > >>>>>>[email protected] > >>>>>>http://www.enhydra.org/mailman/listinfo.cgi/ksoap > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>_______________________________________________ > >>>>>Ksoap mailing list > >>>>>[email protected] > >>>>>http://www.enhydra.org/mailman/listinfo.cgi/ksoap > >>>>> > >>>>> > >>>>> > >>>>> > >>>>_______________________________________________ > >>>>Ksoap mailing list > >>>>[email protected] > >>>>http://www.enhydra.org/mailman/listinfo.cgi/ksoap > >>>> > >>>> > >>>> > >>>_______________________________________________ > >>>Ksoap mailing list > >>>[email protected] > >>>http://www.enhydra.org/mailman/listinfo.cgi/ksoap > >>> > >>> > >>> > >>_______________________________________________ > >>Ksoap mailing list > >>[email protected] > >>http://www.enhydra.org/mailman/listinfo.cgi/ksoap > >> > >> > >> > >> > > > > > >_______________________________________________ > >Ksoap mailing list > >[email protected] > >http://www.enhydra.org/mailman/listinfo.cgi/ksoap > > > > > > > _______________________________________________ > Ksoap mailing list > [email protected] > http://www.enhydra.org/mailman/listinfo.cgi/ksoap >