uCosminexus Service Platform, Basic Development Guide

[Contents][Glossary][Index][Back][Next]

4.6 Generating an XML schema file from the binary format definition file

Use the cscfdx2xsd command to generate an XML schema file from the binary format definition file. If you use this command to define transformation of the binary data into an XML data with the same structure, you can easily create an XML schema file for the transformation destination.

For details about the cscfdx2xsd command, see the manual Cosminexus Service Platform Reference.

The following is the procedure for defining the file adapter for reading the binary data described as an example of the proper use of the cscfdx2xsd command:

  1. Creating the binary format definition file
    Use the Wizard to create the binary format definition file.
    For details about how to create the binary format definition file, see 4.4 Creating Message Formats (Binary Format Definition File).
  2. Creating the XML format definition file
    Based on the created binary format definition file, execute the cscfdx2xsd command and generate the XML schema file. If you use the command to transform the binary data into an XML data with the same structure, you need not create the XML schema definition using an editor.
  3. Defining the business process and service adapter
    Use the Wizard to set up the created binary format definition, to set up the XML schema definition generated by the command, and to create the data transformation definition.
    For details about defining the adapters, see 5. Defining Business Processes and for details about the data transformation definition, see 6. Defining Data Transformation.