소스 검색

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);
 }