SimpleTypes with Ladon?
Using LadonType classes we can define a wide range of ComplexType definitions as necessary. However, we are trying to replace an existing (not very good) interface for a system with a webservice using Ladon. One problem has come up however - we want to change the existing interface as little as possible, as it already uses XML data, but the existing interface defines a lot of SimpleType definitions in the XSD - like this:
<simpleType name="AssetStatus">
<xsd:
<
This field identifies the current status of the asset.
<
</xsd:
<restriction base="xsd:string">
<
<
<
<
<
<
</restriction>
</simpleType>
Is it possible to generate SimpleTypes in Ladon apart from the built-in type conversions from python types to XSD? Any pointers to how, if it is possible?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- ladon Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Lars Erik Utsi Gullerud for more information if necessary.