Carl Mäsak wrote:
> Everything now works: the webservice examples, even my Bioclipse
> plugin. Due to this, I have a few more specific questions:
> 
> 1. The two experiments contained in "My 1st project" show up as "test"
> and "test 0", respectively. I would like them to show up as "New
> experiment" and "ST experiment", as they do in the web client under
> the table heading "Name". Strangely, the ExperimentInfo.getName()
> method give me the names "test" and "test 0", names which I can't even
> find among the experiment stats in the web client. Other likely get
> methods, like getTitle() and toString(), give just as little info.
> Which method should I be using?

The ExperimentInfo.getName() method returns the name of the experiment. 
The experiments you are seeing are not the same experiments. Are you 
using the same login?

> 2. How do I search for all the experiments contained in a given
> project, or all the assays contained in a given experiment.

You need to set which project that should be the active project. Use
ProjectClient.setActive(). Then, when querying for experiments use a
QueryOptions with includeInProject=true and all other include options to 
false.

To get all raw bioassays in the experiment, use
ExperimentClient.getRawBioAssays(). Read the javadoc for more info:
http://base.thep.lu.se/chrome/site/latest/api/net/sf/basedb/ws/client/package-summary.html

> QueryOptions seems to give some of the flexibility I'm after, but I
> find no way to specify "limit the search results to those in X". This
> was easy to do in the now defunct perl web client. I've looked through
> the docs, but found nothing specific about this.

It was easy because it was hardcoded into the server side and you didn't
actually have a choice of what to return.

/Nicklas

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
basedb-devel mailing list
basedb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/basedb-devel

Reply via email to