[base] BASE2 API: interacting with multiple BASE2 installs

2006-10-06 Thread Micha Bayer
Hi,

I am working on a web service that talks to a BASE2 install to get data
out (for an analysis pipeline) and then store data back into it. 

We are supporting three separate institutions which eventually will all
have separate BASE2 installs, but I would like there to be only one
service, for maintenance reasons mostly. That means I need to be able to
tell BASE the URL of the actual target install for each separate call to
the web service (i.e. the user can specify which of the three installs
they want to get data out of).

Is there any way of doing this in the API? From what I have gathered so
far the URL of the database is stored in the base.config file, and that
is where the API gets it from by default, but is there any way I can
override this?

Thanks

Micha

==
Dr Micha M Bayer
Bioinformatics Specialist
Genetics Programme
The Scottish Crop Research Institute
Invergowrie
Dundee
DD2 5DA
Scotland, UK
Telephone +44(0)1382 562731 ext. 2309
Fax +44(0)1382 562426
http://www.scri.sari.ac.uk/MichaBayer.htm
=
 

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

DISCLAIMER:

This email is from the Scottish Crop Research Institute, but the views 
expressed by the sender are not necessarily the views of SCRI and its 
subsidiaries.  This email and any files transmitted with it are confidential 
to the intended recipient at the e-mail address to which it has been 
addressed.  It may not be disclosed or used by any other than that addressee.
If you are not the intended recipient you are requested to preserve this 
confidentiality and you must not use, disclose, copy, print or rely on this 
e-mail in any way. Please notify [EMAIL PROTECTED] quoting the 
name of the sender and delete the email from your system.

Although SCRI has taken reasonable precautions to ensure no viruses are 
present in this email, neither the Institute nor the sender accepts any 
responsibility for any viruses, and it is your responsibility to scan the email 
and the attachments (if any).


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
[EMAIL PROTECTED]


Re: [base] BASE2 API: interacting with multiple BASE2 installs

2006-10-06 Thread Nicklas Nordborg
Micha Bayer wrote:
 Hi,
 
 I am working on a web service that talks to a BASE2 install to get data
 out (for an analysis pipeline) and then store data back into it. 
 
 We are supporting three separate institutions which eventually will all
 have separate BASE2 installs, but I would like there to be only one
 service, for maintenance reasons mostly. That means I need to be able to
 tell BASE the URL of the actual target install for each separate call to
 the web service (i.e. the user can specify which of the three installs
 they want to get data out of).
 
 Is there any way of doing this in the API? From what I have gathered so
 far the URL of the database is stored in the base.config file, and that
 is where the API gets it from by default, but is there any way I can
 override this?

In the current implementation it is only possible to connect to one 
database at a time. I hope this will change sometime in the future, but 
it will not happen in this year and maybe not even in the next year.

/Nicklas

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
[EMAIL PROTECTED]