RE: Kuddi: Problems with multiple method calls
"Nick Randell" <[email protected]> Tue, 7 Jan 2003 05:29:55 -0000
| Newsgroups | gmane.comp.java.enhydra.kxmlrpc |
|---|---|
| Message-ID | <[email protected]> |
Do you know if the server is working correctly? You could try with a standard desktop client. Another option is to use ethereal (www.ethereal.com) and trace the packets. I normally find this most useful. Nick > -----Original Message----- > From: [email protected] [mailto:[email protected]]On > Behalf Of Kevin O'Rourke > Sent: 06 January 2003 22:04 > To: [email protected] > Subject: Kuddi: Problems with multiple method calls > > > Hi, > > I've been having problems with kXML-RPC when I try to make more than one > method call. > > The first one succeeds but the next one fails with a: > java.io.IOException: malformed response message > at com.sun.midp.io.j2me.http.Protocol.readResponseMessage(+198) > at com.sun.midp.io.j2me.http.Protocol.sendRequestEndSession(+42) > at com.sun.midp.io.j2me.http.Protocol.sendRequest(+139) > at com.sun.midp.io.j2me.http.Protocol.openInputStream(+48) > at org.kxmlrpc.XmlRpcClient.execute(+167) > ... > > I've tried creating a new XmlRpcClient for each call and reusing > the same one, > with the same results. > > A further call will then succeed, so it looks like the first one > maybe failed > to close something or tidy something up and this is taken care of > when the > second call fails. > > Anyone got any ideas? > > Kevin. > -- > Kevin O'Rourke > http://www.caboose.org.uk > > _______________________________________________ > Kuddi mailing list > [email protected] > http://support.enhydra.org/mailman/listinfo.cgi/kxmlrpc >