[ome-devel] ome access with c++

gerhard bi1825 at fh-weihenstephan.de
Thu Oct 6 13:42:13 BST 2005


Sorry for writing twice,
but as example I tried to write down the XMLRPC Code of the first
example in the last mail.

Post:
<?xml version="1.0" encoding="ISO-8859-1"?><methodCall><methodName>dispatch</methodName><params><param><value>>>OBJ:OME::Session=HASH(0x84df2a0)</value></param><param><value>>>OBJ:OME::Session=HASH(0x84df2a0)</value></param><param><value>Factory</value></param></params></methodCall>

Response:
<?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><string>>>OBJ:OME::Factory=HASH(0x8d36368)</string></value></param></params></methodResponse>

Post:
<?xml version="1.0" encoding="ISO-8859-1"?><methodCall><methodName>dispatch</methodName><params><param><value>>>OBJ:OME::Session=HASH(0x84df2a0)</value></param><param><value>>>OBJ:OME::Factory=HASH(0x8d36368)</value></param><param><value>loadObject</value></param><param><value>OME::Image</value></param><param><value>17</value></param></params></methodCall>

Response:
<?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><string>>>OBJ:OME::Image=HASH(0x8e04320)</string></value></param></params></methodResponse>

Post:
<?xml version="1.0" encoding="ISO-8859-1"?><methodCall><methodName>dispatch</methodName><params><param><value>>>OBJ:OME::Session=HASH(0x84df2a0)</value></param><param><value>>>OBJ:OME::Image=HASH(0x8e04320)</value></param><param><value>name</value></param></params></methodCall>

Response: (get the name of the image)
<?xml version="1.0" encoding="UTF-8"?><methodResponse><params><param><value><string>TO_17_day5_4X_FITC_3min_B</string></value></param></params></methodResponse>


As result I get the name of the Image (TO_17_day5_4X_FITC_3min_B).
Is it false to retrieve specific data that way ?


Thanks
gerhard



More information about the ome-devel mailing list