Any XML-RPC fans who can help me with this please?
This label command works in the PyMOL command line:
label 4zho//A/36/CA 4zho//B/36/CA, "hello world"
How do I format an equivalent XML-RPC request?
I've tried
<methodCall>
<methodName>label</methodName>
<params>
<parameter>
<value>4zho//A/36/CA
4zho//B/36/CA</value>
</parameter>
<parameter>
<value>"hello world"</value>
</parameter>
</params>
</methodCall>
but get back a fault response XML message with
<class 'SyntaxError'>:invalid syntax (<string>, line 1)
I have also tried encoding the " as %22, or omitting the quotes, same result.
Any ideas please?
Thanks,
Mungo
The University of Dundee is a registered Scottish Charity, No: SC015096