Mail Archive Home | enhydra List | Febuary 2005 Index
| <-- Date Index --> | <-- Thread Index --> |
Hello
I am writting to you in order to ask a few questions about the kXMLRPC
library.
I tried to run the example on you website "kxmlrpc_demo.java" but it seems to
not work because there is a problem with the commandAction() where there is a
deadlock. Consequently I tried to resolve this issue by creating a new thread.
It works but there is still a bug. The function "execute()" send a request
("metaWeblog.getPost") to the blog (MetaWeblog API) and it doesn't receive
correctly the response from the server. Here is the things we can see with the
network monitor :
<?xml version="1
.0"?>.<methodRes
ponse>.<params>.
<param>.<value><
struct>.<member>
<name>dateCreate
d</name>.<value>
<dateTime.iso860
1>20050208T15:38
:33</dateTime.is
o8601></value>.<
/member>.<member
><name>userid</n
ame>.<value><str
ing>1</string></
value>.</member>
I think this is due to the the function which read the xml. I have this
exception :
org.kxml.io.ParseException: unexpected: ParseEvent type=256 text='
' @-1:-1
at org.kxml.parser.AbstractXmlParser.read(+53)
at org.kxmlrpc.XmlRpcParser.parseValue(+15)
at org.kxmlrpc.XmlRpcParser.parseParams(+46)
at org.kxmlrpc.XmlRpcParser.parseResponse(+144)
at org.kxmlrpc.XmlRpcClient.execute(+200)
at kxmlrpc_demo$PrimeRun.run(+67)
I use a recent version of J2ME : WTK 2.2 and the last library which is on the
enhydra website.
Are there forums where we could find answer to our questions ?
Your faithfully
Sebastien Fesquet
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.