public static function invokeSoap($wsdlURL, $method,
                                      array $params = array(),
                                      array $options = array())
    {
        try {
            $soapClient = new \SoapClient($wsdlURL, $options);
            $result     = $soapClient->$method($params);
        } catch (\SoapFault $ex) {
            $result = false;
        }
        return $result;
    }
public static function invokeSoap($wsdlURL, $method,
                                      array $params = array(),
                                      array $options = array())
    {
        try {
            $soapClient = new \SoapClient($wsdlURL, $options);
            $result     = $soapClient->$method($params);
        } catch (\SoapFault $ex) {
            $result = false;
        }
        return $result;
    }
public static function invokeSoap ( $ wsdlURL , $ method , array $ params = array ( ) , array $ options = array ( ) ) { try { $ soapClient = new \ SoapClient ( $ wsdlURL , $ options ) ; $ result = $ soapClient -> $ method ( $ params ) ; } catch ( \ SoapFault $ ex ) { $ result = false ; } return $ result ; }
Invoke SOAP method

@param string $wsdlURL
@param string $method
@param array $params
@param array $options
@return mixed
Invoke SOAP method