[MOBY-dev] JAX-WS BioMoby API (2nd round).
Edward Kawas
edward.kawas at gmail.com
Tue Jan 15 15:14:58 UTC 2008
So it's the message sent to services. I think the problem then is the common
subs module, because I believe that it looks for prefixes.
As an aside, the perl moses services should not have this problem. I will
look into common subs and see if I can make a module that uses LibXML.
Eddie
-----Original Message-----
From: moby-dev-bounces at lists.open-bio.org
[mailto:moby-dev-bounces at lists.open-bio.org] On Behalf Of Dmitry Repchevsky
Sent: January-15-08 7:12 AM
To: moby-dev at lists.open-bio.org
Subject: Re: [MOBY-dev] JAX-WS BioMoby API (2nd round).
Hello Edward,
Here is the Moby message without "moby" prefix:
************************************************
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns1:MOBY xmlns:ns1="http://www.biomoby.org/moby">
<ns1:mobyContent>
<ns1:mobyData ns1:queryID="sip_1">
<ns1:Simple ns1:articleName="id">
<ns1:Object ns1:namespace="PDB" ns1:id="1pio"/>
</ns1:Simple>
</ns1:mobyData>
</ns1:mobyContent>
</ns1:MOBY>
************************************************
it gives me:
************************************************
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Undefined namespace prefix
xmlXPathCompiledEval: evaluation failed
</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
************************************************
The XSLT transformation was my guess (looking into parseMobyMessage.xsl
file in Perl directory)...
Cheers;
Dmitry
_______________________________________________
MOBY-dev mailing list
MOBY-dev at lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/moby-dev
More information about the MOBY-dev
mailing list