define("baseUrl","http://xxx.xxx.xxx:10000/WebServices/SmartSystem.asmx?wsdl");
define("baseUrl_v2","http://xxx.xx.xx.xx:9000/WebServices/SmartSystem.asmx?wsdl");
class EmaerpWebServiceUtil
{
public static function emaerpClient($functionName, array $params){
$soapClient = new \SoapClient(baseUrl_v2,array('trace'=>true));
$response = $soapClient->__soapCall($functionName,$params);
return json_encode($response);
}
}