[moby] [MOBY-dev] questions about gbrowse-moby

ywong at infobiogen.fr ywong at infobiogen.fr
Thu Jan 13 15:56:07 UTC 2005


Finally I solved the problem...

After analysing the traces ten times, I just return a string object (the
solution was right under my nose):

<SOAP-ENC:string id="816c598">&lt;?xml version="1.0"
encoding="UTF-8"?>&lt;moby:MOBY
xmlns:moby="http://www.biomoby.org/moby-s">&lt;moby:mobyContent>&lt;moby:mobyData
moby:queryID='1'>&lt;moby:Simple>&lt;moby:Object moby:id="superman"
moby:namespace="Global_Keyword" moby:articleName=""
/>&lt;/moby:Simple>&lt;moby:Simple>&lt;moby:Object
moby:namespace="Received" moby:id="OK"
/>&lt;/moby:Simple>&lt;/moby:mobyData>&lt;/moby:mobyContent>&lt;/moby:MOBY></SOAP-ENC:string>

compare to before:

<SOAP-ENV:Body><namesp3:test_python_echo
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:mobyContent>
	          <moby:mobyData queryID='1'><moby:Simple
moby:articleName='object1'>
<Object namespace="Global_Keyword" id="superman"/>
</moby:Simple>
</moby:mobyData>

	      </moby:mobyContent>
	</moby:MOBY>]]></body></namesp3:test_python_echo></SOAP-ENV:Body>

This one isn't recognized as no deserializer exist for this kind of object.

Now is it really necessary to put the XML object in a <body></body> tag?

> I used the Perl API to query test_python_echo, bad luck,  no results...
>
> I used the debugYourService script to trace execution. I send the trace.
>
> AFAIK the script give results except when I query my service!
>
> Now I am almost clueless...
>
> The most astonishing fact is that apparently, it receives the answer but
> doesn't seems able to deserialize the content ?!
>
> I hope it can help, next week I'll put the test_python_echo webservice on
> the public webserver (then you'll be able to test by yourself).
>
>
>> Hi,
>>   For this service it is normal as it is a service on my personal
>> webserver which is offline most of the time.
>>
>>   I send you the captured frames of the answer, maybe this will help. On
>> my side, I'll do some testing using the moby Perl API (As gbrowse_moby
>> uses it to query services) maybe this will help me to find what's wrong
>> with my service...
>>
>> -------------------------------------------------------------
>> NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs,
>> Toolbar...
>> Web/Wap : www.netcourrier.com
>> Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
>> Minitel: 3615 NETCOURRIER (0,16 € TTC/min)
>>
>> _______________________________________________
>> MOBY-dev mailing list
>> MOBY-dev at biomoby.org
>> http://www.biomoby.org/mailman/listinfo/moby-dev
>>
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at biomoby.org
> http://www.biomoby.org/mailman/listinfo/moby-dev
>





More information about the MOBY-dev mailing list