19 require_once(BASE.
"wcmf/lib/util/class.ObjectFactory.php");
 
   40     $format = $request->getFormat();
 
   41     if ($format == null || strlen($format) == 0)
 
   47     $formatter = &$objectFactory->createInstanceFromConfig(
'implementation', $format.
'Format');
 
   48     if ($formatter === null)
 
   49       WCMFException::throwEx($objectFactory->getErrorMsg().
"\nRequest: ".$request->toString(), __FILE__, __LINE__);
 
   51     $formatter->deserialize($request);
 
   60     $format = $response->getFormat();
 
   67     $formatter = &$objectFactory->createInstanceFromConfig(
'implementation', $format.
'Format');
 
   68     if ($formatter === null)
 
   69       WCMFException::throwEx($objectFactory->getErrorMsg().
"\nResponse: ".$response->toString(), __FILE__, __LINE__);
 
   70     $formatter->serialize($response);
 
throwEx($message, $file='', $line='')