[MOBY-dev] dashboard problem generating datatypes

Martin Senger martin.senger at gmail.com
Wed Jun 18 16:58:59 UTC 2008


> I have a "problem" with dashboard, when I "generate datatypes" I see a list
> of 630 datatypes, inside this list it appears text-xml, text-formatted,
> text_xml and text_formatted, but when I check the content of the jar, that
> is generated, it contains the text_ classes but not the text- ones.


MoSeS generator changes dashes to underscore. Which means that both Moby
data types text-plain and text_plain are represented by only one class. You
cannot distinguish them. However, MoSeS and Dashboard know what moby data
type is expected by a service and send a correct type (text-plain, or
text_plain). I forgot already how it is done, but it seems to work fine (you
can try - in Dashboard - to generate XML input, for example for a service
TestService and you will se there text-plain object.

Martin

-- 
Martin Senger
email: martin.senger at gmail.com,m.senger at cgiar.org
skype: martinsenger



More information about the MOBY-dev mailing list