Have a look at these 2 services:
pub.flatFile.generate:getFFDictionaryAsXML
pub.flatFile.generate:saveXMLAsFFDictionary
You can try saving the schema as xml and creating the Dictionary xml from it and then using the get service to read it.
Worth a try if you absolutely need to do this.
#edi#webMethods#Integration-Server-and-ESB