[MOBY-l] document/literal format in Perl

Mark Wilkinson markw at illuminae.com
Sat Apr 12 17:26:58 UTC 2008


Hi Jas,

That's correct, Moby doesn't use XML Schema, though I wish we could  
because it would make so many people so much happier!  Unfortunately,the  
way the Object ontology is serialized into it's instances creates XML  
structures that cannot be represented in W3C Schema for a variety of  
reasons.  Others can give you the details if you're interested but suffice  
to say that it is not possible for many of the same reasons that it is not  
possible to represent an RDF individual of an OWL Class in XML Schema -  
just too much flexibility/possibility to fit into a rigid schema.

Moby Central creates WSDL as best it can - it creates on-the-fly a WSDL  
file representing an endpoint, where the inputs and outputs are simply  
xsd:anyType (or mabey xsd:xml?  I can't remember how that discussion ended  
as there was a conflict between the Perl and Java stacks on this issue if  
I recall correctly).  In Perl, the client libraries (SOAP::Lite) use that  
WSDL to create the stubs for their connection.  My understanding is that  
the Java Moby libraries don't bother with the WSDL at all (is that  
correct?) though I have asked Eddie to put an extra call into the jMoby  
stack to retrieve the WSDL of the called service, since it helps us with  
another project we are doing - registry mining to improve search results!   
One thing that I really SHOULD do is put a REST-like interface into MOBY  
Central where the WSDLs can be retrieved from a predictable URL...  I  
really must do that!

Hope you're not TOO disappointed!!  We're doing our best, but getting  
RDF/Semantic-Web-like behaviours without using RDF/OWL is causing all  
sorts of problems... >>sigh<<  if I could go back in time to 2001!

M





On Sat, 12 Apr 2008 04:12:01 -0700, Jason Stewart  
<jason.e.stewart at gmail.com> wrote:

> Hey All,
>
> I am wanting to test out the XML::Compile module for Perl support of
> doc/lit format in Perl.
>
> I was chatting with Martin and he indicated a problem in my thinking.
> XML::Compile uses WSDL files to generate on the fly code generators...
> That means that we would need a WSDL file for any service...
>
> Martin also indicated that moby is not using XML schema for it's
> service inputs and outputs... That surprised me.
>
> I think there is maybe a *lot* that I'm not understanding :-(
>
> Cheers, jas.
> _______________________________________________
> moby-l mailing list
> moby-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-l



-- 
--
Mark Wilkinson
Assistant Professor, Dept. Medical Genetics
University of British Columbia
PI Bioinformatics
iCAPTURE Centre, St. Paul's Hospital
Tel:  604 682 2344 x62129
Fax:  604 806 9274

***CONFIDENTIALITY NOTICE***
This electronic message is intended only for the use of the addressee and  
may contain information that is privileged and confidential.  Any  
dissemination, distribution or copying of this communication by  
unauthorized individuals is strictly prohibited. If you have received this  
communication in error, please notify the sender immediately by reply  
e-mail and delete the original and all copies from your system.
 



More information about the moby-l mailing list