esdl_example.ecl 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*** Not to be hand edited (changes will be lost on re-generation) ***/
  2. /*** ECL Interface generated by esdl2ecl version 1.0 from esdl_example.xml. ***/
  3. /*===================================================*/
  4. EXPORT esdl_example := MODULE
  5. EXPORT t_NameInfo := RECORD
  6. UTF8 First {XPATH('First')};
  7. UTF8 Last {XPATH('Last')};
  8. SET OF UTF8 Aliases {XPATH('Aliases/Alias'), MAXCOUNT(1)}; // max_count must be specified in ESDL defintion!
  9. END;
  10. EXPORT t_AddressInfo := RECORD
  11. UTF8 Line1 {XPATH('Line1')};
  12. UTF8 Line2 {XPATH('Line2')};
  13. UTF8 City {XPATH('City')};
  14. UTF8 State {XPATH('State')};
  15. INTEGER Zip {XPATH('Zip')};
  16. UTF8 _type {XPATH('type')}; //values['Home','Work','Hotel','']
  17. END;
  18. EXPORT t_RoxieEchoPersonInfoRequest := RECORD
  19. t_NameInfo Name {XPATH('Name')};
  20. DATASET(t_AddressInfo) Addresses {XPATH('Addresses/Address'), MAXCOUNT(1)}; // max_count must be specified in ESDL defintion!
  21. END;
  22. /*Empty record generated from empty EsdlRequest
  23. EXPORT t_EsdlExamplePingRequest := RECORD
  24. END;
  25. */
  26. EXPORT t_RoxieEchoPersonInfoResponse := RECORD
  27. INTEGER count {XPATH('count')};
  28. t_NameInfo Name {XPATH('Name')};
  29. DATASET(t_AddressInfo) Addresses {XPATH('Addresses/Address'), MAXCOUNT(1)}; // max_count must be specified in ESDL defintion!
  30. END;
  31. /*Empty record generated from empty EsdlResponse
  32. EXPORT t_EsdlExamplePingResponse := RECORD
  33. END;
  34. */
  35. END;
  36. /*** Not to be hand edited (changes will be lost on re-generation) ***/
  37. /*** ECL Interface generated by esdl2ecl version 1.0 from esdl_example.xml. ***/
  38. /*===================================================*/