public static function initializeRequestAndResponseSerializationAndCompressionFormat($xmlObj, $ippConfig)
     {
         LocalConfigReader::intializeMessage($ippConfig);

         $requestSerializationFormat = null;
         $requestCompressionFormat = null;
         $responseSerializationFormat = null;
         $responseCompressionFormat = null;

         if (isset($xmlObj) &&
                 isset($xmlObj->intuit->ipp->message->request)) {
             $requestAttr = $xmlObj->intuit->ipp->message->request->attributes();
             $requestSerializationFormat = (string)$requestAttr->serializationFormat;
             $requestCompressionFormat = (string)$requestAttr->compressionFormat;
         }

         // Initialize Response Configuration Object
         if (isset($xmlObj) &&
                 isset($xmlObj->intuit->ipp->message->response)) {
             $responseAttr = $xmlObj->intuit->ipp->message->response->attributes();
             $responseSerializationFormat = (string)$responseAttr->serializationFormat;
             $responseCompressionFormat = (string)$responseAttr->compressionFormat;
         }
         LocalConfigReader::setRequestAndResponseSerializationFormat($ippConfig, $requestCompressionFormat, $responseCompressionFormat, $requestSerializationFormat, $responseSerializationFormat);
     }