[MOBY-dev] Service registration from XML

Paul Gordon gordonp at ucalgary.ca
Wed May 7 14:42:31 UTC 2008


Or preferably, create a MobyService object and call all the set() 
methods to populate it.  Then call registerService on the MobyService 
object.  There is an example of this in 
moby-live/Java/src/Clients/ServletTester.java.  No manual XML required, 
which is part of the point of having an Java API ;-)

Edward Kawas wrote:
> Hi Hao Chen,
>
> Okay, now that I have examined how you are trying to do things, I have a few things to say:
>
> The class RegistryImpl in org.biomoby.registry was never implemented. I created that class a long time ago when I was going to try to write the registry in JAVA. Sorry for the confusion.
>
> You should try using org.biomoby.client.CentralImpl and the method registerService(). Unfortunately, it doesn’t consume a string of XML, but I am sure that you could dig deeper and see how that method performs the registerService and mimic it.
>
> Eddie
>
> -----Original Message-----
> From: moby-dev-bounces at lists.open-bio.org [mailto:moby-dev-bounces at lists.open-bio.org] On Behalf Of wasser
> Sent: May-07-08 6:12 AM
> To: Core developer announcements
> Subject: Re: [MOBY-dev] Service registration from XML
>
> hi, Dmitry
>
> I use the correct email address Format. It seems that the program of our Forum changed email symbol to "at", so you get the "Malformed email"
> Error. I send the Email now as attachment to the list. 
>
> On Wed, 2008-05-07 at 13:52 +0200, Dmitry Repchevsky wrote:
>   
>> I have tested it with my API and got:
>>
>> "Malformed email - must be a valid email address of the form 
>> name at organization.foo"
>>
>> Error... So this is the error with XML itself :-)
>>
>> Cheers,
>>
>> Dmitry
>> _______________________________________________
>> MOBY-dev mailing list
>> MOBY-dev at lists.open-bio.org
>> http://lists.open-bio.org/mailman/listinfo/moby-dev
>>     
>
>
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-dev
>
> !DSPAM:60005,4821b1ba109503177825363!
>
>
>
>   



More information about the MOBY-dev mailing list