[MOBY-dev] Register service from xml

Pierre-Yves Chibon py at pingoured.fr
Thu Aug 21 08:07:12 UTC 2008


Martin Senger wrote:
>> We also looked at the
>> ./build/run/run-cmdline-client -help
>> but from that it seems that it does not accept xml as input to register
>> data type, services or any other moby object.
> 
> 
> It does, actually. There is a parameter -call which can have two arguments.
> The first one (mandatory) is a method name (e.g. registerObjectClass for
> registering a data type), the second one (optional) is either directly XML,
> or a file name containing the XML.

Ok we made a small python script that parse our xml file and run this 
command to register our objects or services.

Thanks for your help,

Regards,
Pierre



More information about the MOBY-dev mailing list