<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Any XML-RPC fans who can help me with this please?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
This label command works in the PyMOL command line:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
label 4zho//A/36/CA 4zho//B/36/CA, "hello world"<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
How do I format an equivalent XML-RPC request?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I've tried</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><methodCall><br>
</span>
<div> <methodName>label</methodName><br>
</div>
<div> <params><br>
</div>
<div> <parameter><br>
</div>
<div> <value>4zho//A/36/CA <span style="font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">
<span> </span>4zho//B/36/CA</span></value> <br>
</div>
<div> </parameter><br>
</div>
<div> <parameter><br>
</div>
<div> <value>"hello world"</value> <br>
</div>
<div> </parameter><br>
</div>
<div> </params><br>
</div>
<div></methodCall><br>
</div>
<span></span><br>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
but get back a fault response XML message with</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<p style="margin: 0px; font: 11px Menlo; background-color: rgb(255, 255, 255); margin: 0px; background-color: rgb(255, 255, 255)">
<span style="font-variant-ligatures: no-common-ligatures; font-variant-ligatures: no-common-ligatures"><class 'SyntaxError'>:invalid syntax (<string>, line 1)</span></p>
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have also tried encoding the " as %22, or omitting the quotes, same result.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Any ideas please?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Mungo</div>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<span id="ms-rterangepaste-start"></span><a href="" style="font-family:Times"><img width="1" height="2" alt="Email signature" src="https://www.dundee.ac.uk/media/dundeewebsite/emailsignature/tiny.png"></a>
<table border="0" cellpadding="0" cellspacing="0" style="font-family:Times; border-collapse:collapse; border-width:0px">
<tbody>
<tr>
<td colspan="4" height="10"> </td>
</tr>
<tr>
<td style="font-size:10px; width:73px!important; max-width:73px!important"><a href="http://uod.ac.uk/sig-home" rel="nofollow"><img width="73" height="73" alt="University of Dundee shield logo" style="display:block" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/university-of-dundee-email-favicon.png"></a></td>
<td style="width:12px"> </td>
<td class="uod-03" style="border-left:1px solid rgb(67,101,226); width:11px"> </td>
<td width="430">
<p style="margin-top: 0px; margin-bottom: 0px;font-size:13px; color:rgb(67,101,226); line-height:20px; font-family:Calibri,sans-serif">
<strong style="letter-spacing:1.2px; font-size:14px">Mungo Carstairs</strong><br>
Jalview Computational Scientist</p>
<p style="margin-top: 0px; margin-bottom: 0px;font-size:13px; color:rgb(67,101,226); line-height:20px; font-family:Calibri,sans-serif">
The Barton Group<br>
Division of Computational Biology</p>
<p style="margin-top: 0px; margin-bottom: 0px;font-size:13px; color:rgb(67,101,226); line-height:20px; font-family:Calibri,sans-serif">
School of Life Sciences</p>
<p style="margin-top: 0px; margin-bottom: 0px;font-size:13px; color:rgb(67,101,226); line-height:20px; font-family:Calibri,sans-serif">
University of Dundee, Dundee, Scotland, UK</p>
<p style="margin-top: 0px; margin-bottom: 0px;font-size:13px; color:rgb(67,101,226); line-height:20px; font-family:Calibri,sans-serif">
<a href="http://www.jalview.org" class="OWAAutoLink">www.jalview.org</a></p>
<p style="margin-top: 0px; margin-bottom: 0px;font-size:13px; color:rgb(67,101,226); line-height:20px; font-family:Calibri,sans-serif">
<a href="http://www.compbio.dundee.ac.uk" class="OWAAutoLink">www.compbio.dundee.ac.uk</a> <br>
<a href="mailto:g.m.carstairs@dundee.ac.uk" style="text-decoration:none; color:rgb(67,101,226)">g.m.carstairs@dundee.ac.uk</a></p>
</td>
</tr>
<tr>
<td colspan="4" height="10"></td>
</tr>
<tr>
<td colspan="4"><span style="font-size:12px; color:rgb(67,101,226); line-height:20px; font-family:Calibri,sans-serif"><a href="http://uod.ac.uk/sig-fb"><img width="35" height="35" alt="University of Dundee Facebook" style="max-width:32px; margin-right:8px; height:auto!important" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/baxter-blue-facebook.png"></a> <a href="http://uod.ac.uk/sig-tw" alt="University of Dundee Twitter"><img width="35" height="35" alt="University of Dundee Twitter" style="max-width:32px; margin-right:8px; height:auto!important" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/baxter-blue-twitter.png"></a> <a href="http://uod.ac.uk/sig-li"><img width="35" height="35" alt="University of Dundee LinkedIn" style="max-width:32px; margin-right:8px; height:auto!important" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/baxter-blue-linkedin.png"></a> <a href="http://uod.ac.uk/sig-yt"><img width="35" height="35" alt="University of Dundee YouTube" style="max-width:32px; margin-right:8px; height:auto!important" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/baxter-blue-youtube.png"></a> <a href="http://uod.ac.uk/sig-ig"><img width="35" height="35" alt="University of Dundee Instagram" style="max-width:32px; margin-right:8px; height:auto!important" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/baxter-blue-instagram.png"></a> <a href="http://uod.ac.uk/sig-sc"><img width="35" height="35" alt="University of Dundee Snapchat" style="max-width:32px; margin-right:8px; height:auto!important" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/baxter-blue-snapchat.png"></a> </span></td>
</tr>
<tr>
<td colspan="4"><span style="font-size:11px; color:rgb(136,136,136); font-family:Calibri,sans-serif; line-height:12px"><a href="http://uod.ac.uk/sig-strapline" style="text-decoration:none; color:rgb(67,101,226)"><strong>We're Scottish University of the Year
again!</strong></a><br>
The Times / Sunday Times Good University Guide 2016 and 2017</span></td>
</tr>
</tbody>
</table>
<span id="ms-rterangepaste-end"></span></div>
</div>
</div>
<br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>