[MOBY-l] Problem invoking services

Jay Potts potts at discoverymachine.com
Fri Oct 10 12:04:24 EDT 2003


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>





More information about the moby-l mailing list