[MOBY-dev] questions about gbrowse-moby
ywong at infobiogen.fr
ywong at infobiogen.fr
Tue Jan 11 17:38:08 UTC 2005
After some implementations of webservices in Python, I've noticed that I
was able to query moby services normally, but when I used gbrowse_moby to
query Python webservices, it wasn't successful at all.
My Python API send a string to query services, these services all return
results:
*** Outgoing HTTP headers **********************************************
POST /webservices/predotar.py HTTP/1.0
Host: genoplante-info.infobiogen.fr
User-agent: SOAPpy 0.11.4 (http://pywebsvcs.sf.net)
Content-type: text/xml; charset="UTF-8"
Content-length: 2248
SOAPAction: "http://biomoby.org/#predotarP"
************************************************************************
*** Outgoing SOAP ******************************************************
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:predotarP xmlns:ns1="http://biomoby.org/" SOAP-ENC:root="1">
<v1 xsi:type="xsd:string"><?xml version="1.0"
encoding="UTF-8"?><moby:MOBY
xmlns:moby="http://www.biomoby.org/moby"><moby:mobyContent><moby:mobyData
moby:queryID='query'><moby:Simple><moby:AminoAcidSequence
><moby:Integer moby:articleName="Length"
>1256</moby:Integer><moby:String
moby:articleName="SequenceString"
>MGLGCGTSIAHEPPMVKCMVMYNGQSSWDMFSPWLVGGDEQPVNMIFEPMRAVTIISNNTPGMVFSGCWPDRYTHENVVGDRFKIINCKFPHQCNNVGAALCCDIRIDSHEGDQDKDEGWQYFEFCHMHAQNNVIWPQQHFGDWNWMWHKQNPKEMCMSRYCEWNKCVWTMGHPCSVRMYGIRLSSNVCSRQAEPAVQNSRGPSETPKEPIHYEGSSNRYGVHKGVSLMNWGNSCMNVINPGTCFIARADNNATVKDWMEPHHAAKLCVCAWQQRSYENAFEKHRAQIGKGSWSSAKMKGRKGNGGQSLMFCSCYHLDTPESMSTTYHIKFCPGLHAMQWRNDEWLSRGWNATKTKDPPFQWNKNVTKHAVEFRKGGTWSTKATEYWGKSHKEWGHNNHPHYVLDWAGCHFCAMESERDWPVQNKRCNQTLHCMDENLNPHITIILWWVWAWCVFYESCPNIEQKVCDKTRHIVLQQCDEDHYVACHHALWMKLWLMAVMHPLHFRYNLGNLTCPMIATMDLEFCHYMWQMYDYKRIYKYDVRNVIAKWGWEMKIQLFTSAHEFPSPMSTAQDKPPMMGSSAVEIWYHPVLYTMYVNISNPNHQHGNGSFEAEVAPPFHKYTSYNSHTRVLITPAYYEFQRLKEPFEHWDWSEPGPYSNITGPYVIALSPCPNEIEVCSKSNQHKTQEIMFMRHIGGLEWGVMYIYWNSWVGRWHWFDPQEGVRNNICNDLVKNPHFYDNAVPVNVQQHRKARICNNMNVKCRCENMPDIMEGHSTIPGLYHEQEFTGEIIHAENECANQVKSLGWVLMWQYPVPEPTEEKPAKSAWLGNGACPPPSRYCMYPNPNPKYPMTACCEHMQEYRRAIHRWNRLNEHKADLTFTEVPVVRRIPVVMSHDGHDCEDICMMRIIADMDRGQWWRHDTWPFYWSSLKEAVFKDKWCPEENCQLLFHEISKEVQKRLPNSKCTRTIPRTNESRHAQWRHGWH!
NRINSFKTPRQIDQFIIPYYMERMKCPTVPLHCQPVWWFQRSEDCKYDDVKTNEVKMVQGYTMCRMYYSMHIGSLFDYETVALNWSKWMGKLDRYHYSNGFEYDTTHRFATQEVGNQEAHEPHRHFCLAFHSAEDMNRDCHTRYGMGLKIADYETYCVTIWHYNHVKHAGISVFKSTEKSNFIGDPSHIERQIGMRISTVTGECGDPHKVMQSPEPAGRWKFLMFKTHCKKAYLCNSNITFQDQYMHFIKEFVWMREFFNIILDCVPLTPW</moby:String></moby:AminoAcidSequence></moby:Simple></moby:mobyData></moby:mobyContent></moby:MOBY></v1>
</ns1:predotarP>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
************************************************************************
here one of the response my service give:
*** Incoming HTTP headers **********************************************
HTTP/1.? 200
Date: Tue, 11 Jan 2005 17:31:49 GMT
Server: Apache
Content-Length: 1441
Connection: close
Content-Type: text/xml; charset="utf-8"
************************************************************************
*** Incoming SOAP ******************************************************
<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ZSI="http://www.zolera.com/schemas/ZSI/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" >
<SOAP-ENV:Body>
<predotarPResponse>
<SOAP-ENC:string id="5c8528"><?xml version="1.0"
encoding="UTF-8"?><moby:MOBY
xmlns:moby="http://www.biomoby.org/moby"><moby:mobyContent><moby:mobyData
moby:queryID='query'><moby:Simple><moby:PredotarP_result
moby:namespace="" moby:id="" moby:articleName=""><moby:Float
moby:namespace="" moby:id=""
moby:articleName="ER_Score">0.01</moby:Float><moby:Float
moby:namespace="" moby:id=""
moby:articleName="MIT_Score">0.01</moby:Float><moby:Float
moby:namespace="" moby:id=""
moby:articleName="None_Score">0.96</moby:Float><moby:Float
moby:namespace="" moby:id=""
moby:articleName="P_Score">0.03</moby:Float><moby:String
moby:namespace="" moby:id=""
moby:articleName="Prediction"><![CDATA[none]]></moby:String></moby:PredotarP_result></moby:Simple></moby:mobyData></moby:mobyContent></moby:MOBY></SOAP-ENC:string>
</predotarPResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
************************************************************************
The question I have is What kind of SOAP messages does gbrowse_moby send
to query services?
Is there any source of gbrowse_moby?
More information about the MOBY-dev
mailing list