public static function GetObjectFromSoapObject($objSoapObject)
 {
     $objToReturn = new Parameter();
     if (property_exists($objSoapObject, 'Id')) {
         $objToReturn->intId = $objSoapObject->Id;
     }
     if (property_exists($objSoapObject, 'Operation') && $objSoapObject->Operation) {
         $objToReturn->Operation = Operation::GetObjectFromSoapObject($objSoapObject->Operation);
     }
     if (property_exists($objSoapObject, 'OrderNumber')) {
         $objToReturn->intOrderNumber = $objSoapObject->OrderNumber;
     }
     if (property_exists($objSoapObject, 'Variable') && $objSoapObject->Variable) {
         $objToReturn->Variable = Variable::GetObjectFromSoapObject($objSoapObject->Variable);
     }
     if (property_exists($objSoapObject, 'ReferenceFlag')) {
         $objToReturn->blnReferenceFlag = $objSoapObject->ReferenceFlag;
     }
     if (property_exists($objSoapObject, '__blnRestored')) {
         $objToReturn->__blnRestored = $objSoapObject->__blnRestored;
     }
     return $objToReturn;
 }
 public static function GetArrayFromSoapArray($objSoapArray)
 {
     $objArrayToReturn = array();
     foreach ($objSoapArray as $objSoapObject) {
         array_push($objArrayToReturn, Operation::GetObjectFromSoapObject($objSoapObject));
     }
     return $objArrayToReturn;
 }