[ome-devel] ome access with c++

Harry Hochheiser hsh at nih.gov
Wed Oct 26 14:20:54 BST 2005


Gerhard:

The XML-RPC sends the IDs of all objects requested, even if those Id  
fields are not explicitly included in the request. Thus, the first ID  
on line 3 is the ID of the image, and the ID on line 11 is the ID of  
the image pixels.

Please feel free to ask further questions as needed.

best,

Harry

On Oct 26, 2005, at 9:01 AM, gerhard wrote:

> Hello everyone,
> hope this is my last question regarding XML-RPC. I am a little  
> confused
> about the output (I shortened it) that I get from the following code:
>
> <methodCall>
>   <methodName>dispatch</methodName>
>   <params><param><value>578c57f1f5356a5f63bc7f30f8d597f4</value></ 
> param>
>   <param><value>retrieveObjects</value></param>
>   <param><value>Image</value></param>
>   <param><value><struct></struct></value></param>
>   <param><value><struct>
>   <member><name>default_pixels</name>
>                    <value><array><data>
>                    <value>ImageServerID</value>
>                    <value>SizeX</value>
>                    <value>SizeY</value>
>                    <value>Repository</value>
>                    </data></array></value>
>   </member>
>   <member><name>.</name>
>                   <value><array><data>
>                   <value>name</value>
>                   <value>created</value>
>                   <value>default_pixels</value>
>                   </data></array></value>
>  </member></struct></value></param></params>
>  </methodCall>
>
>
> ..................
> ..................
> ..................
>
> 1 <struct> <member><name>created</name><value><string>2005-09-02
> 11:06:46.616928</string></value></member>
> 2 <member><name>name</name><value><string>T2_GFP_11_day9_20X (before
> FITC Dextran) T2 GFP FLUO 5b</string></value></member>
> 3 <member><name>id</name><value><int>8</int></value></member>
> 4 <member><name>default_pixels</name><value>
> 5                  <struct>
> <member><name>ImageServerID</name><value><int>8</int></value></member>
> 6                                 <member><name>semantic_type</name>
> 7                                               <value><struct>
> <member><name>granularity</name><value><string>I</string></value></ 
> member>
> 8
>
> <member><name>name</name><value><string>Pixels</string></value></ 
> member>
> 9
>
> <member><name>id</name><value><int>33</int></value></member>
> 10                                             </struct> </value> </ 
> member>
> 11
> <member><name>id</name><value><int>66</int></value></member>
> 12
> <member><name>SizeY</name><value><int>1024</int></value></member>
> 13
> <member><name>SizeX</name><value><int>1344</int></value></member>
> 14                                <member><name>Repository</name>  
> <value>
> 15                                                       <struct>
> <member><name>semantic_type</name><value>
> 16
>                                                                  
> <struct>
> <member><name>granularity</name><value><string>G</string></value></ 
> member>
>
> 17
>
> <member><name>name</name><value><string>Repository</string></ 
> value></member>
> 18
>
> <member><name>id</name><value><int>35</int></value></member>
> 19
>
> </struct></value> </member>
> 20
> <member><name>id</name><value><int>2</int></value></member>
> 21
> </struct></value></member>
> 22                   </struct></value></member>
> 23 </struct></value><value>
>
> ....................
>
>
>
> Why do I get the output in Line 3. I only defined ImageID in the  
> method
> call.
> In Line 11: Where does this id belong to?
>
>
> Thanks very much for your help.
> gerhard
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20051026/70120189/attachment.html


More information about the ome-devel mailing list