How to create a minimal xsd flat file?
Posted: Wed Feb 27, 2008 7:19 pm
Hey guys,
Here is the situation:
I have defined a relatively simple xsd which includes a big xsd and only uses a few types from the latter.
The big xsd file only contain industry standard types.
Now I am using my simple xsd in a wsdl file, which is then used to create Ruby classes.
Now the problem is that the wsdl-to-ruby script creates classes for all the types contained in all the included files resulting in a huge 'mess' of classes I don't need.
The solution I was thinking of was to create a flat file, which would only embedd the types I am actually using and not all the other ones.
Is there a way to do this? Anyone has other proposals?
Thanks,
Laurent
Here is the situation:
I have defined a relatively simple xsd which includes a big xsd and only uses a few types from the latter.
The big xsd file only contain industry standard types.
Now I am using my simple xsd in a wsdl file, which is then used to create Ruby classes.
Now the problem is that the wsdl-to-ruby script creates classes for all the types contained in all the included files resulting in a huge 'mess' of classes I don't need.
The solution I was thinking of was to create a flat file, which would only embedd the types I am actually using and not all the other ones.
Is there a way to do this? Anyone has other proposals?
Thanks,
Laurent