Просмотр исходного кода

Using new type helper for ArrayOfObjectLocators in message processor.

Yves лет назад: 15
Родитель
Сommit
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);
   bool result = exchangeInterface->notifyDataAvailable(data, lastData);
   // set reply message
   // set reply message
   reply->setMethod("notifyDataAvailable");
   reply->setMethod("notifyDataAvailable");
-  QtSoapType* resultType = new ctkDicomSoapBool("stateLegal",result);
+  QtSoapType* resultType = new ctkDicomSoapBool("dataAvailable",result);
   reply->addMethodArgument(resultType);
   reply->addMethodArgument(resultType);
 }
 }
 
 
@@ -92,7 +92,7 @@ void ctkExchangeSoapMessageProcessor::processGetData(
     *objectUUIDs, *acceptableTransferSyntaxUIDs, includeBulkData);
     *objectUUIDs, *acceptableTransferSyntaxUIDs, includeBulkData);
   // set reply message
   // set reply message
   reply->setMethod("getData");
   reply->setMethod("getData");
-  QtSoapType* resultType;
+  QtSoapType* resultType = new ctkDicomSoapArrayOfObjectLocators("arrayOfObjectLocator", *result);
   reply->addMethodArgument(resultType);
   reply->addMethodArgument(resultType);
 }
 }