ソースを参照

Using new type helper for ArrayOfObjectLocators in message processor.

Yves 15 年 前
コミット
c34d2198f8
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2 2
      Plugins/org.commontk.dicom.wg23.core/ctkExchangeSoapMessageProcessor.cpp

+ 2 - 2
Plugins/org.commontk.dicom.wg23.core/ctkExchangeSoapMessageProcessor.cpp

@@ -71,7 +71,7 @@ void ctkExchangeSoapMessageProcessor::processNotifyDataAvailable(
   bool result = exchangeInterface->notifyDataAvailable(data, lastData);
   // set reply message
   reply->setMethod("notifyDataAvailable");
-  QtSoapType* resultType = new ctkDicomSoapBool("stateLegal",result);
+  QtSoapType* resultType = new ctkDicomSoapBool("dataAvailable",result);
   reply->addMethodArgument(resultType);
 }
 
@@ -92,7 +92,7 @@ void ctkExchangeSoapMessageProcessor::processGetData(
     *objectUUIDs, *acceptableTransferSyntaxUIDs, includeBulkData);
   // set reply message
   reply->setMethod("getData");
-  QtSoapType* resultType;
+  QtSoapType* resultType = new ctkDicomSoapArrayOfObjectLocators("arrayOfObjectLocator", *result);
   reply->addMethodArgument(resultType);
 }