[MOBY-l] Problem invoking services

Jay Potts potts at discoverymachine.com
Fri Oct 10 13:43:17 EDT 2003


Thanks for the reply, Ken.

I don't see a method called Execute though, in the API on biomoby.org. Where
is it on the biomoby website?

I'm currently working with Java, and not Perl. So it's possible that may be
part of the problem. In the Java API, I can do all kinds of things with the
central registry itself, such as query it for services, get their WSDL, etc.
It contains a doCall method, but this seems to be for interacting with the
registry, rather than with the services, as I haven't had it succeed with
the services yet.


-----Original Message-----
From: Ken Steube [mailto:steube at sdsc.edu]
Sent: Friday, October 10, 2003 11:40 AM
To: Jay Potts
Cc: moby-l at biomoby.org
Subject: Re: [MOBY-l] Problem invoking services

Hi Jay,

Are you calling the service directly with SOAP calls?  Not sure I
understood your question.  You can do that but MOBY provides a
higher-level method execute() to call services.  Go to biomoby.org and
look in the API for this method. I have an example program for calling a
service if you want it.

Ken

On Fri, 10 Oct 2003, Jay Potts wrote:

> Hello Moby folks,
> I'm trying to invoke a service that I've found through Moby's registry,
and
> have run into the following problems.
>
> I'm not sure what to set as the endpoint, for the SOAP message that I'm
> sending. I've tried setting the endpoint to
> http://www.biomoby.org/#GetPubmed, but it gives me an error "(405) Method
> not allowed"
>
> So, I tried sending it to
> http://prometheus.brc.mcw.edu/pubfetch-bin/PubFetchService.pl, but then
the
> resulting message is just the following fault:
> "Denied access to method (GetPubmed) in class (main) at
> /usr/local/lib/perl5/site_perl/5.8.0/SOAP/Lite.pm line 2128"
>
> Does anyone have any idea of what I'm doing wrong? I'm pretty new to this
> SOAP RPC stuff, so I'm sure it could be a great variety of things. I can
> provide more info, if necessary.
>
>
> Currently, the message is as follows:
> <?xml version="1.0" encoding="UTF-8"?>
>
> <SOAP-ENV:Envelope
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> xmlns:SOAPENC="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema"
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
>
> <SOAP-ENV:Body>
> <namesp3:GetPubmed xmlns:namesp3="http://biomoby.org/">
> <body>
>
> <![CDATA[<?xml version='1.0' encoding='UTF-8'?>
>
> <moby:MOBY xmlns:moby='http://www.biomoby.org/moby-s'>
>
> <moby:Query>
>
> <moby:queryInput moby:articleName='ccc'>
> <moby:Simple>
> <Object namespace="Global_Keyword" id="1234568" >
> </moby:Simple>
> </moby:queryInput>
>
> <moby:queryInput moby:articleName='ccc'>
> <moby:Simple>
> <Object namespace="Global_Keyword" id="1234567" >
> </moby:Simple>
> </moby:queryInput>
>
> </moby:Query>
>
> </moby:MOBY>]]>
>
> </body>
>
> </namesp3:GetPubmed>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
>
>
> _______________________________________________
> moby-l mailing list
> moby-l at biomoby.org
> http://biomoby.org/mailman/listinfo/moby-l
>

--
-------------------------------------
Ken Steube            steube at sdsc.edu
San Diego Supercomputer Center @ UCSD
San Diego, California             USA




More information about the moby-l mailing list