Exporting Schemas from the Enterprise Services Repository
...
1. To export the Message Type, proceed as follows:
a. In the Enterprise Service Repository, select the required Message Typewhose XSD definition you want to export.
b. Navigate to the XSD tab page.
c. Choose Tools →Export XSD.
The system displays a dialog window to navigate in the file system of your computer.
d. Navigate to the directory where you want to save the export.
e. Enter the <root element name> as the name for the file.

The file name must have the extension .xsd. This convention corresponds to the value that is proposed in the export function.
f. Save the schema.
g. If the XML namespace is not the technical namespace, a zip file with all the required schemas is created. You must then proceed as follows:
i. Unpack the schemas in the file system.
ii. Rename <Main Schema>.xsd to <Root Element Name>.xsd.
iii. Save the other files with their names in the respective directories.
2. To export the External Definition, proceed as follows:
a. In the Enterprise Services Repository, select the required External Definition whose WSDL definition you want to export.
b. Navigate to the WSDL tab page.
c. Copy the contents of the schematag from the WSDL display to a file.
d. Enter the XML statement < ?xml version="1.0" encoding="UTF-8"?> as the header in the file in front of the schema tag.
e. Save the schema with the <root element name> as the name for the file.

The file name must have the file extension .xsd.