ksoap Response Size Limit
Steve Daly <[email protected]> Mon, 19 Apr 2004 09:42:06 -0700
| Newsgroups | gmane.comp.java.enhydra.ksoap |
|---|---|
| Message-ID | <[email protected]> |
What limit does ksoap or J2ME impose on responses to http requests. I am getting: ParseException: unexpected: ParseEvent type=128 text='Request entity Too Large'. If it is ksoap, can you direct me to the location of the code that defines this limit. Steve -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Monday, April 19, 2004 12:01 AM To: [email protected] Subject: Ksoap digest, Vol 1 #393 - 1 msg 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. deploy service in apache tomcat and access it through ksoap (=?iso-8859-1?B?UnVi6W4=?=) --__--__-- Message: 1 From: "=?iso-8859-1?B?UnVi6W4=?=" <[email protected]> To: <[email protected]> Date: Sun, 18 Apr 2004 19:17:38 +0200 Subject: Ksoap: deploy service in apache tomcat and access it through ksoap Reply-To: [email protected] Hi!. I want to invoke some methods deployed in apache tomcat with apache soap 1.2 running on it. I am newbie in that world, so I don't know if I can use apache soap to deploy services so that ksoap can access them. I have tried to deploy a simple class on the server and i've tried to invoke it in my midlet, following the sintax decribed in a taxtCalc example. Here is the heart of the function: SoapObject client = new SoapObject("urn:soap-rtb-mp2p:MobileP2P","authenticate");//urn and class to invoke //arguments client.addProperty("login",login); client.addProperty("password",password); //Connection to serverHttpTransport ht = new HttpTransport("http://localhost:8080/soap/servlet/rpcrouter", "urn:soap-rtb-mp2p:ServicioMP2P#authenticate"); //call the method System.out.println("$$$$"+ht.call(client)); In the server side I've deployed the class MobileP2P with a method authenticate and, it seems to be published. I compile and run my MIDlet and when the code tries to access de service a screen apears in the emulator telling if i want to use de network, i press the yes button and nothing happens. I don't know if the service is not properly deployed or simply that apache soap is not compatible with ksoap. Could Anyone tell me alternatives or how to invoke rpc from my midlet and how deploy and with which technology, servlets,apache soap etc etc... Thanks, sorry for my english and for being "tan pesado"(in spanish) --__--__-- _______________________________________________ Ksoap mailing list [email protected] http://www.enhydra.org/mailman/listinfo.cgi/ksoap End of Ksoap Digest