[sr-dev] XMLRPC not compliant with standard
Olle E. Johansson
oej at edvina.net
Mon Nov 19 13:18:28 CET 2012
19 nov 2012 kl. 11:44 skrev Juha Heinanen <jh at tutpro.com>:
> Olle E. Johansson writes:
>
>>> What command did you execute?
>> htable.dump
>
> also htable.dump work ok with me:
>
>> $ python sr-xmlrpc.py
> <ServerProxy for 127.0.0.1:6060/RPC2>
> Nov 19 12:43:38 sip /usr/sbin/sip-proxy[3556]: INFO: Handling XMLRPC POST from <192.98.102.10> with body <<?xml version='1.0'?><methodCall><methodName>htable.dump</methodName><params><param><value><string>htable</string></value></param></params></methodCall>>
> ({'slot': {'item': {'name': 'gw::3::calling_host', 'value': 'foo.bar'}}, 'entry': 0, 'size': 1}, {'slot': {'item': {'name': 'rpi::30001::acl[0]', 'value': 3}}, 'entry': 1, 'size': 1}, {'slot': {'item': {'name': 'rpi::30001::charging_uri', 'value': 'sip:+358407058050 at test.fi'}}, 'entry': 8, 'size': 1}, ...
>
Check the full XML in the response and see if you have multiple values in the <param> part.
/O
More information about the sr-dev
mailing list