[ome-devel] ome access with c++

gerhard bi1825 at fh-weihenstephan.de
Wed Oct 26 14:01:51 BST 2005


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


More information about the ome-devel mailing list