xml-rpc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mike marsh <sanchosmas...@yahoo.com>
Subject need help: cannot marshal <type 'long int'>
Date Fri, 20 Sep 2002 16:25:18 GMT
I learned about XMLRPC only a few days ago, so if it
sounds like I don't know what I'm talking about
then...I don't.

I've read that the XMLRPC spec only supports a few
data types, and I think I need to modify my
XmlRpcClient to support additional data types.

MY SITUATION:
I need to connect to a Zope database via XmlRpc. 
Someone else maintains the xmlrpc methods and code on
the Zope server.  I try calling a particular method,
but an XmlRpcException gets thrown.  The exception
string says "cannot marshal <type 'long int'>".  I
suppose I need an XmlRpc parser that can interpret
<long int> and create a Long object.  Can someone tell
me how to modifiy org.apache.xml.XmlRpc.java?

Below is some more info that may help explain my
problem.

Thanks in advance,
mike

STACK TRACE:
org.apache.xmlrpc.XmlRpcException: Unexpected Zope
exception: cannot marshal <type 'long int'> objects
        at
org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:414)
        at
org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:149)
        at
ncmi.dbclient.DBClient.query(DBClient.java:42)
        at ncmi.dbclient.Browser.main(Browser.java:91)


DEBUG:
Client calling procedure
'EMDB.Groups.Group_1.Project_59.Microscopy.values'
with parameters []
Beginning parsing XML input stream
startElement: methodResponse
startElement: value
startElement: struct
startElement: member
startElement: name
endElement: name
startElement: value
startElement: int
endElement: int
endElement: value
endElement: member
startElement: member
startElement: name
endElement: name
startElement: value
startElement: string
endElement: string
endElement: value
endElement: member
endElement: struct
endElement: value
endElement: fault
endElement: methodResponse


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

Mime
View raw message