Changed the location where the SoapClient is made

Changed the location where the SoapClient is made