diff --git a/README.md b/README.md index 05d336a..455ccbe 100644 --- a/README.md +++ b/README.md @@ -2,21 +2,23 @@ ## What is soapClient? -soapClient.jar allows you to send data to a SOAP service using an XML template file and an input CSV file. The program takes a configuration file which defines different aspects of the program including: +soapClient.jar allows you to send data to a SOAP service using an XML template file and an input CSV file. The program reads a configuration file which defines different aspects of the program including: ## Command line parameters ### --key -This is the key (must be 16 characters) which is used to encrypt the password that is stored in the configuration file. +This is the key (must be 16 characters) which is used to encrypt the password that is stored in the configuration file. ### --encrypt This is the value to encrypt using the encryption key. You need to pass both --key and --encrypt in order to get a correct result. @@ -35,7 +37,8 @@ The bash script shown below can be used to verify the contents of the CSV input ```bash #!/bin/bash -java -cp lib/commons-codec-1.17.1.jar:lib/commons-csv-1.12.0.jar:lib/commons-io-2.18.0.jar:lib/jcommander-1.82.jar:lib/soapClient.jar com.belkast.soap.userVerify +JAVA=/usr/local/bin/java +$JAVA -cp lib/commons-codec-1.17.1.jar:lib/commons-csv-1.12.0.jar:lib/commons-io-2.18.0.jar:lib/jcommander-1.82.jar:lib/soapClient.jar com.belkast.soap.userVerify ``` ### linux_runner.sh @@ -44,14 +47,13 @@ The bash script shown below can be used to run the program. ```bash #!/bin/bash -java -cp lib/commons-codec-1.17.1.jar:lib/commons-csv-1.12.0.jar:lib/commons-io-2.18.0.jar:lib/jcommander-1.82.jar:lib/soapClient.jar com.belkast.soap.webService "$@" +JAVA=/usr/local/bin/java +$JAVA -cp lib/commons-codec-1.17.1.jar:lib/commons-csv-1.12.0.jar:lib/commons-io-2.18.0.jar:lib/jcommander-1.82.jar:lib/soapClient.jar com.belkast.soap.webService "$@" ``` ## Program components -Do not forget to include the following four JAR files as dependencies when building the soapClient.JAR. - -I use IDEA IntelliJ Community Ediiton when writing JAVA code. +Do not forget to include the following four JAR files as dependencies when building the soapClient.jar.