[MOBY-l] Problem invoking services

Jay Potts potts at discoverymachine.com
Mon Oct 13 12:45:41 EDT 2003


Hey Folks,
I think I'm getting a little closer to being able to query services, however
I'm still running into a few problems. Although, at this point I think it's
a question of sending the correct data. I'm a software engineer, and not a
biologist, so I'm not exactly sure what most of these services do. :)
Anyway, I'm trying to access the getGoTerm service.
I've constructed the following message:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <namesp3:getGoTermService 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="GO" id="GO:0008303" > </moby:Simple>
		</moby:queryInput>
	</moby:Query>
</moby:MOBY>]]>
  </body>
    </namesp3:getGoTermService>
 </soapenv:Body>
</soapenv:Envelope>

I've sent it to the endpoint:
http://mobycentral.cbr.nrc.ca/cgi-bin/Services/Services.cgi
with the namespace: http://biomoby.org/#getGoTerm

I'm able to do this now, without getting any errors or faults. However, the
response I get seems to be mostly empty:
<?xml version='1.0' encoding='UTF-8'?>
      <moby:MOBY xmlns:moby='http://www.biomoby.org/moby'>
        <moby:Response moby:authority='http://www.illuminae.com'>

    </moby:Response>
      </moby:MOBY>

I take this to mean that it's just giving me nothing back, because I sent in
the wrong data. Does anyone know from looking at the message I'm sending
out, what I'm getting wrong? I'm pretty sure that GO id is correct, as I'm
able to use the little moby client that's up on the web to query it and get
a resulting GO_Term back.




More information about the moby-l mailing list