[ome-devel] Re: FileID access with xml-rpc

Harry Hochheiser hsh at nih.gov
Wed Nov 2 17:26:02 GMT 2005


Gerhard:

The XML that you are using here is not quite  correct. I've attached  
a file that I believe to be correct for this request.

For what it's worth,  I'd suggest avoiding the construction of XML- 
RPC calls by hand if it all possible. Since our code doesn't include  
easy facilities for dumping the XML-RPC, I'd suggest writing a small  
java test program, and running it through a proxy (i use https:// 
tcpmon.dev.java.net/) which will tell you what's been transmitted  
over a wire. I've attached an example test program below.

I'm also not sure what you mean by the FileID of a specific image. Do  
you mean the image server ID? You'd have to look at the image's  
default pixels to get that value.

-harry

On Nov 2, 2005, at 11:03 AM, gerhard wrote:

> Hello everyone,
> I tried to get the FileID of a specific Image out of the OME  
> Database. But the way I tried didn't work.
>
> <methodCall>
>        <methodName>dispatch</methodName>
>               
> <params><param><value>23e7c497ba4f7196370199974857f57f</value></param>
>                      <param><value>retrieveObject</value></param>
>                      <param><value>ModuleExecution</value></param>
>                      <param><value><struct>
>                                      <member><name>image_id</ 
> name><value><int>8</int></value></member>
>                                      <member><name>module.name</ 
> name><value><string>Image import</string></value></member>
>
>                                    </struct>
>                      </value></param>
>                      <param><value><struct>
>                      <member><name>.</ 
> name><value><array><data><value>module_id</value></data></array></ 
> value></member>
> </struct></value></param></params></methodCall>
>
> The following gives me the id of the Import Module of the specific  
> image.
> But I found no way to access the FileID by the id of the Import  
> Module.
>
> Thanks for help
> Gerhard
>

-------------- next part --------------
Skipped content of type multipart/mixed


More information about the ome-devel mailing list