[MOBY-l] REST Service registration
edward.kawas at gmail.com
Tue May 1 10:44:46 EDT 2007
Are you planning on coding in perl or java?
First, register the service using whatever method you wish (I use
Second, create the code for the service;
If you are using JAVA,
http://biomoby.open-bio.org/CVS_CONTENT/moby-live/Java/docs/ has information
for you (under Developing jMoby services)
If you are using Perl,
explains how to create the service.
I would develop a hello world service that takes in a string and returns
whatever you wish. Once you get that working, the rest would be trivial
because all you would have to do instead of returning hello world is invoke
your rest service and return the response.
If you need further guidance, let me know. I am unsure of how much you know!
From: Rajasekar Karthik [mailto:karthik085 at gmail.com]
Sent: Tuesday, May 01, 2007 7:36 AM
To: Edward Kawas
Cc: moby-l at biomoby.org
Subject: Re: [MOBY-l] REST Service registration
On 5/1/07, Edward Kawas <edward.kawas at gmail.com> wrote:
That wouldn't be right (w.r.t. to moby).
Personally, I think that you will have to wrap this REST service in a moby
This is what I am trying to do. Sorry, I should have explained it clearer.
But, how do I do this? I already have a REST service that takes a string
name as input. Can you explain in detail?
So, you would create a web service that takes a string name as
This web service would then pass on the string to
http://site.com/Service?Parameter1=INPUT_STRING, obtain a result and send it
back to the caller of the moby service.
The reason that I think that you are incorrect, is because moby has a
predefined message structure that you will have follow to be compatible.
Hope this makes sense!
> -----Original Message-----
> From: moby-l-bounces at lists.open-bio.org [mailto:moby-l-bounces at lists.open-
> bio.org] On Behalf Of Rajasekar Karthik
> Sent: Tuesday, May 01, 2007 7:16 AM
> To: moby-l at biomoby.org
> Subject: [MOBY-l] REST Service registration
> I am trying to register a new service. In Service Endpoint - URL, I want
> store the URL to REST service.
> URL is something like:
> Site: site.com
> Service: Service
> Parameter1: parameter/name
> Value1: value for the parameter1
> In order to register the service, I have to input:
> - in the Service Endpoint - URL: http://mysite.com/Analysis?
> - in the input data, add
> a) Name (String)
> Is this right? If not, how can I register the service?
> Best Regards,
> Rajasekar Karthik
> karthik085 at gmail.com
> moby-l mailing list
> moby-l at lists.open-bio.org <mailto:moby-l at lists.open-bio.org>
karthik085 at gmail.com
More information about the moby-l