[MOBY-dev] [personal] Re: [moby] Re: RDF deregistration

Dirk Haase d.haase at gsf.de
Thu Oct 5 12:39:22 UTC 2006


On Wednesday 04 October 2006 17:34, Edward Kawas wrote:
> Hey Dirk,
>
> I ran the agent, and the following was in the log:
>
> Service getClonesByName, mips.gsf.de has been removed.
> The agent wanted to remove the service because Service was not found in the
> RDF document located at:
> http://mips.gsf.de/proj/planet/moby/RDF/all_mips_services.rdf
>
>
> It did what we expected ...

Either I am constantly making a very stupid error or in fact there is a 
difference between my agent calls and yours... Today I removed 
'getSplicedSequence' from the rdf mentioned above and called the agent
1) by dashboard button 'Call RDF Agent'
2) by dashboard button 'Register from XML' with the following XML file:
<registerService>
<signatureURL>http://mips.gsf.de/proj/planet/moby/RDF/all_mips_services.rdf</signatureURL>
</registerService>
3) by a perl script with this core
my $REG = $C->registerService( 
signatureURL=> 'http://mips.gsf.de/proj/planet/moby/RDF/all_mips_services.rdf'
   );

Each time I got a 'success' message but still the service is not unregistered.

For the perl script, I used 'SOAP + trace' mode, the outgoing message you can 
see below.

BTW: registration works perfectly with the new dashboard button.

Best,
dirk

And here is the SOAP trace of my registerService call:

SOAP::Transport::HTTP::Client::send_receive: POST 
http://mobycentral.icapture.ubc.ca/cgi-bin/MOBY05/mobycentral.pl HTTP/1.1
Accept: text/xml
Accept: multipart/*
Content-Length: 951
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://mobycentral.icapture.ubc.ca/MOBY/Central#registerService"

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope 
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" 
xmlns:SOAP-ENC="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><namesp1:registerService 
xmlns:namesp1="http://mobycentral.icapture.ubc.ca/MOBY/Central"><c-gensym3 
xsi:type="xsd:string">
                        &lt;registerService>
                        &lt;Category>&lt;/Category>
                        &lt;serviceName>&lt;/serviceName>
                        &lt;serviceType>&lt;/serviceType>
                        &lt;Description>&lt;/Description>
                
&lt;signatureURL>http://mips.gsf.de/proj/planet/moby/RDF/all_mips_services.rdf&lt;/signatureURL>
                        &lt;URL>&lt;/URL>
                        &lt;authURI>&lt;/authURI>
                        &lt;contactEmail>&lt;/contactEmail>
                
&lt;/registerService></c-gensym3></namesp1:registerService></SOAP-ENV:Body></SOAP-ENV:Envelope>



More information about the MOBY-dev mailing list