Calling a web service Import the required libraries, specify globals, and write the program to call a SOAP Web Service. Step 1: Import the COM library of the GWS packageStep 2: Specify the globals fileStep 3: Write the MAIN program block