[MOBY-l] To access moby service using Java

Ken Steube steube at sdsc.edu
Wed Feb 4 15:53:41 UTC 2004


A text-xml is really just a String, but with a different name. What you
have is correct.

You can find out what an object looks like by going to a URL like this
one:

http://plantsp.sdsc.edu/cgi-bin/MOBY/MOBY_display_object_xml.cgi?obj=text-xml

Ken

On Wed, 4 Feb 2004, Viji wrote:

> Hi,
>
> I could successfully write and access a moby (test)service in Java. This
> service has an object input and String output.
>
> I would like to know how an output moby object of type "text-xml" should
> look like.
>
> I tried as below.
>
> <moby:MOBY xmlns:moby="http://www.biomoby.org/moby">
>     <moby:Response moby:authority="http://mips.gsf.de">
>         <moby:queryResponse queryID="">
>             <Simple>
>                 <moby:text-xml namespace="Global_Keyword" id="431260"
> articleName="odata1">
> <?xml version="1.0 encoding="UTF-8"?><element
> id="10"><desc>431260</desc></element>
>                 </moby:text-xml>
>             </Simple>
>         </moby:queryResponse>
>     </moby:Response>
> </moby:MOBY>
>
> If you have worked with "text-xml" object(moby specific) types , kindly
> correct me.
>
> Thanks
> Viji
>
> _______________________________________________
> moby-l mailing list
> moby-l at biomoby.org
> http://biomoby.org/mailman/listinfo/moby-l
>

-- 
--
--
Ken Steube
San Diego Supercomputer Center
University of California, San Diego, MC 0505
9500 Gilman Drive
San Diego, California, 92093-0505  USA
FAX (858) 822-3610




More information about the moby-l mailing list