[MOBY-l] A moby service in Java

Viji viji at gsf.de
Wed Feb 4 12:07:34 UTC 2004


Hi Mark,

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


More information about the moby-l mailing list