[MOBY-dev] jMoby: method that parses service xml and returns MobyService object

Paul Gordon gordonp at ucalgary.ca
Fri Nov 18 19:53:44 UTC 2005


I am stupid.  Time to go home for the weekend. :-)
I don't think the method you are looking for exists in Java yet.

>
>
> CentralImpl.findService() obviously parses the XML at some point to 
> give you the service object.
> Ah, yes.  MobyServices[] CentralImpl.extractServices(String)
>
>> I was unable to find a method that parses xml similar to the
>> registerService
>> (http://biomoby.open-bio.org/CVS_CONTENT/moby-live/Docs/MOBY
>> -S_API/XMLPayloads.html) xml and returns a MobyService
>> object.
>>
>> I did notice the method in CentralImpl called
>> extractServices(string) but the it parses a different
>> message structure than the registerService xml.
>>
>> Does anyone know of a method that does what I need?
>>
>> Thanks,
>>
>> Eddie
>>
>> _______________________________________________
>> MOBY-dev mailing list
>> MOBY-dev at biomoby.org
>> http://www.biomoby.org/mailman/listinfo/moby-dev
>>  
>>
>
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at biomoby.org
> http://www.biomoby.org/mailman/listinfo/moby-dev





More information about the MOBY-dev mailing list