Burlap for J2ME

From: Tomasz Lempart <tlempart@xxx.pl>
Date: Wed Sep 08 2004 - 09:13:21 PDT

Hi,

    I try to use burlap library to communication between cell-phone and
web-container. I have a problem with sending user-defined types. I call
remote method:

    <burlap:call>
        <method>validateUser</method>
        <string>user</string>
        <string>password</string>
    </burlap:call>

and get:
                       
    <burlap:reply>
        <map>
            <type>pl.sst.person.rcp.service.UserVO</type>
            <string>id</string>
            <long>1</long>
        </map>
    </burlap:reply>

which I think is ok, but when I try to read response with method
readReply (MicroBurlapInput method) I get exception:

com.caucho.burlap.client.BurlapProtocolException: expected <value> at <map>
    at com.caucho.burlap.client.MicroBurlapInput.startReply(+70)
    at com.caucho.burlap.client.MicroBurlapInput.readReply(+4)
    at
pl.sst.person.rcp.midlet.delegate.PersonRCPDelegate.validateUser(+111)
    at pl.sst.person.rcp.midlet.ui.login.LoginAction.execute(+32)
    at pl.sst.midlet.Controller$1.run(+86)

It seems to be either bug or lack in functionailty. Am I right?

    regards

    Tomek
Received on Wed 08 Sep 2004 09:13:21 -0700

This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:16:40 PDT