Kuddi: Problems with multiple method calls
"Kevin O'Rourke" <[email protected]> Mon, 6 Jan 2003 22:03:59 +0000
| Newsgroups | gmane.comp.java.enhydra.kxmlrpc |
|---|---|
| Message-ID | <[email protected]> |
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