...

/

Creating a SOAP Client Project

Creating a SOAP Client Project

In this lesson, we will look at how to create a Java project with all the required dependencies for making SOAP web service calls.

Installing build tools

Please ensure JDK 8 or JRE 8 is installed on your machine as it is required by both Gradle and Maven.

Gradle

If you have a Macintosh/Linux machine and already have brew installed, you can just run the following command to install gradle.

brew install gradle

Else, you can manually install it by downloading the binary from Gradle Latest Release. To download version 6.3, use this link.

After downloading the .zip, unzip the archive file.

Macintosh/Linux

Add the following lines in ~/.profile file

export GRADLE_HOME=<unzipped gradle folder path>
export PATH=$PATH:$GRADLE_HOME/bin

Run the following command:

source ~/.profile

Windows

Run the following commands from the command prompt.

set GRADLE_HOME=<unzipped gradle folder path>
set PATH=%PATH%;%GRADLE_HOME%\bin

Maven

If you have a Macintosh/Linux machine and already have brew installed, you can just run the following command to install maven.

brew install maven

Else, you can manually install it by downloading the binary from https://maven.apache.org/download.cgi. To download version 3.6.3, use this ...