haxr (XML RPC) rendering of string values
Johannes Waldmann
waldmann at imn.htwk-leipzig.de
Thu Dec 1 07:02:57 EST 2005
with haxr-20050621, I have trouble interfacing to Java.
When I build an XML RPC call with haxr, containing a struct, I get
<?xml version='1.0' ?>
<methodCall
><methodName
>vorlesungen</methodName
><params
><param
><value
><struct
><member
><name
>schule</name
><value
><string
>HTWK Leipzig</string></value></member> ...
but when I build the same call with org.apache.xmlrpc, I get
<?xml version="1.0"?><methodCall><methodName>vorlesungen</methodName>
<params><param><value><struct><member><name>matrikel</name><value>531</value></member>
<member><name>schule</name><value>HTWK</value></member> ...
the difference is that haxr has extra <string> tags
for values of arguments. I don't think this is right?
Best regards,
--
-- Johannes Waldmann -- Tel/Fax (0341) 3076 6479/80 --
---- http://www.imn.htwk-leipzig.de/~waldmann/ -------
More information about the Libraries
mailing list