Re: Kuddi: Problems with multiple method calls

"Kevin O'Rourke" <[email protected]> Tue, 7 Jan 2003 18:45:50 +0000
Newsgroups gmane.comp.java.enhydra.kxmlrpc
Message-ID <[email protected]>
I did a bit of further testing and discovered that it works fine when I run 
the program on the PalmOS emulator, using the Sun MIDP VM.

Oddly, it doesn't work at all on a real PalmOS device, but that's over a real 
(GPRS) network so there's lots of extra factors in there.

I'll give ethereal a go and see if I can spot what's going on.

Kevin.

On Tuesday 07 January 2003 05:29, Nick Randell wrote:
> 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
>
> _______________________________________________
> Kuddi mailing list
> [email protected]
> http://support.enhydra.org/mailman/listinfo.cgi/kxmlrpc

-- 
Kevin O'Rourke
http://www.caboose.org.uk