Running the WSDL compiler script
The WSDL compiler script, nci_compilewsdl,
creates a JAR file that contains a programmatic representation of
the WSDL data.
Procedure
- Navigate to the $IMPACT_HOME/bin directory.
- In the command prompt, run the compiler script with the
following options:
nci_compilewsdl package_name wsdl_file destinationWhere:
- package_name
- The name of the JAR file (without the .jar suffix) to be created by the script.
- wsdl_file
- The name of the JAR file (without the .jar suffix) to be created by the script.
- destination
- The directory to copy the generated JAR file to, the default directory is $IMPACT_HOME/wslib.
You must enter the entire command in one line, without any line breaks. For example, on UNIX:./nci_compilewsdl amazon US.wsdl $IMPACT_HOME/wslibThe example command compiles a WSDL file, US.wsdl that is in the current working directory, and creates the
amazon.jarfile, in the$IMPACT_HOME/wslibdirectory.Another example shows how to compile a WSDL file using a URL:./nci_compilewsdl weather http://www.webservicex.net/WeatherForecast.asmx?WSDL ../wslibThe
weather.jarfile, is created under$IMPACT_HOME/wslibdirectory. - Optional: If the destination directory for the script is different from the default one, you must copy the generated JAR file into the $IMPACT_HOME/wslib directory so that Netcool®/Impact policies can use it.