src/Core/Configuration/LocalConfigReader.php
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);
     }
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);
     }
Initialize Compression Serialization format Settings from Simple XML Reading from SDK.config
@Hao