-
Notifications
You must be signed in to change notification settings - Fork 0
1. Usage
To use this tool you need an environment with an up-to-date Java Development Kit (JDK).
You can find the different custom settings on the options page.
The config file in the directory WSDL2DCAT can be used to predefine the input, output and transformation directory. When the properties has no value or the properties file doesn't exist the interactive mode will start.
This is an example of a file config_example.properties (you can find it in the same directory):
When the filedir location in the properties file has value the other values will be ignored. The input, output, and transformation child directories of the filedir will be used.
This is an example of a config file with filedirLocation:
When there went something wrong the logger will log it as explained on the exception page and the exit code will be 1.
If you start the application you'll be welcomed by oldskool CMD UI.
Inside the folder Fedict\WSDL2DCAT\target you'll find uber-WSDL2DCAT-1.0-SNAPSHOT.jar
Open CMD or bash depending on your OS.
Use the following command:
java -cp uber-WSDL2DCAT-1.0-SNAPSHOT.jar com.fedict.wsdl2dcat.WSDL2DCAT
To make it easier for you, we've made a BAT and Bash file respectivelly called WSDL2DCAT.bat (Windows only ⚡) and WSDL2DCAT.sh.
It can be found in the root: Fedict\WSDL2DCAT.
If you want to use it elsewhere copy the BAT/BASH file together with uber-WSDL2DCAT-1.0-SNAPSHOT.jar +
files folder.
Steps for using (default usage)
- Put the WSDL, XSD or FAMILIES which you want to convert in their respective folders.
- Run the tool.
- If everything goes well, you'll find DCAT files in the DCAT folder.
WSDL2DCAT
└───files
├───Input
│ ├───FAMILIES
│ ├───WSDL
│ └───XSD
├───Output
│ └───DCAT
└───Transformation
└───XSL
Fedict-WSDL2DCAT | oSoc16