wait(conversation, parameterValues, options)
Use this method to notify the server that the issuer of the request is still waiting for the request to complete, and to request that the processing be continued.
Signatures
- Java and Apache Axis
public com.cognos.developer.schemas.bibus._3.AsynchReply wait( com.cognos.developer.schemas.bibus._3.AsynchRequest conversation, com.cognos.developer.schemas.bibus._3.ParameterValue[] parameterValues, com.cognos.developer.schemas.bibus._3.Option[] options)
- C# .NET
public asynchReply wait(asynchRequest conversation, parameterValue[] parameterValues, option[] options)
- Example: Using the wait(conversation, parameterValues, options) Method with the Report Service in Java
The following Java code snippet demonstrates how to use the asynch » wait(conversation, parameterValues, options) method with the report service.
To see this code in context, view the Java sample ExecReports/RunReport.java. For more information about the samples, see Code samples and language-specific coding practices.
while (rsr.getStatus() != AsynchReplyStatusEnum.complete) { rsr = connection.getReportService().wait( rsr.getPrimaryRequest(), new ParameterValue[] {}, new Option[] {}); }
- Example: Using the wait(conversation, parameterValues, options) Method with the Job Service in Java
The following Java code snippet demonstrates how to use the asynch » wait(conversation, parameterValues, options) method with the job service.
To see this code in context, view the Java sample Submit/SubmitReport.java. For more information about the samples, see Code samples and language-specific coding practices.
asynchReply = connect.getJobService().wait( asynchReply.getPrimaryRequest(), new ParameterValue[] {}, new Option[] {});
- Example: Using the wait(conversation, parameterValues, options) Method with the Report Service in C# .NET
The following C# code snippet demonstrates how to use the asynch » wait(conversation, parameterValues, options) method with the report service.
To see this code in context, view the C# sample PrintReport/PrintReport.cs. For more information about the samples, see Code samples and language-specific coding practices.
while (reportResponse.status != asynchReplyStatusEnum.complete) { reportResponse = connection.CBIRS.wait( reportResponse.primaryRequest, new parameterValue[] {}, new option[] {} ); }
References
- Part of the following method sets:
- Implemented by the following services:
The services that implement the wait method, along with the associated SOAP actions, are listed in the following table.
Table 1. Services implementing the wait method. Service
SOAP Action
agentService
http://www.ibm.com/xmlns/prod/cognos/agentService/201404/.absolute
batchReportService
http://www.ibm.com/xmlns/prod/cognos/batchReportService/201404/.absolute
contentManagerService
http://www.ibm.com/xmlns/prod/cognos/contentManagerService/201404/.absolute
dataIntegrationService
http://www.ibm.com/xmlns/prod/cognos/dataIntegrationService/201404/.absolute
dataMovementService
http://www.ibm.com/xmlns/prod/cognos/dataMovementService/201404/.absolute
deliveryService
http://www.ibm.com/xmlns/prod/cognos/deliveryService/201404/.absolute
dimensionManagementService
http://www.ibm.com/xmlns/prod/cognos/dimensionManagementService/201404/.absolute
eventManagementService
http://www.ibm.com/xmlns/prod/cognos/eventManagementService/201404/.absolute
idVizService
http://www.ibm.com/xmlns/prod/cognos/idVizService/201404/.absolute
indexSearchService
http://www.ibm.com/xmlns/prod/cognos/indexSearchService/201404/.absolute
indexUpdateService
http://www.ibm.com/xmlns/prod/cognos/indexUpdateService/201404/.absolute
jobService
http://www.ibm.com/xmlns/prod/cognos/jobService/201404/.absolute
metadataService
http://www.ibm.com/xmlns/prod/cognos/metadataService/201404/.absolute
migrationService
http://www.ibm.com/xmlns/prod/cognos/migrationService/201404/.absolute
mobileService
http://www.ibm.com/xmlns/prod/cognos/mobileService/201404/.absolute
monitorService
http://www.ibm.com/xmlns/prod/cognos/monitorService/201404/.absolute
planningAdministrationConsoleService
http://www.ibm.com/xmlns/prod/cognos/planningAdministrationConsoleService/201404/.absolute
planningRuntimeService
http://www.ibm.com/xmlns/prod/cognos/planningRuntimeService/201404/.absolute
planningTaskService
http://www.ibm.com/xmlns/prod/cognos/planningTaskService/201404/.absolute
powerPlayService
http://www.ibm.com/xmlns/prod/cognos/powerPlayService/201404/.absolute
queryService
http://www.ibm.com/xmlns/prod/cognos/queryService/201404/.absolute
relationalMetadataService
http://www.ibm.com/xmlns/prod/cognos/relationalMetadataService/201404/.absolute
reportService
http://www.ibm.com/xmlns/prod/cognos/reportService/201404/.absolute
repositoryService
http://www.ibm.com/xmlns/prod/cognos/repositoryService/201404/.absolute
saCAMService
http://www.ibm.com/xmlns/prod/cognos/sacamsrvc-auth/201404/.absolute
Input parameters
Use the following parameters when calling this method.
- conversation
Specifies the current state of the asynchronous conversation. All methods that begin an asynchronous conversation, and most methods used within an asynchronous conversation, return this information as the value of the bibus » asynchReply » primaryRequest property.
The value of this parameter should be obtained from the most recent instance of the bibus » asynchReply » primaryRequest property returned from a method for the same conversation.
This argument
is of type bibus » asynchRequest
is encoded as type
tns:asynchRequest
- parameterValues
Specifies the parameter values for the request.
Parameter values can also be specified in other locations. For more information, see Specifying Options and Parameters.
This argument
is an array of type bibus » parameterValue
is encoded as type
tns:parameterValueArray
- options
Specifies the options for the request.
Options can also be specified in other locations. For more information, see Specifying Options and Parameters.
This argument
Return values
This method returns the following values.
- result
Returns the state of the asynchronous conversation. Possible asynchronous conversation states are defined in the bibus » asynchReplyStatusEnum enumeration set.
Any data requested can be obtained by examining the bibus » asynchReply » details property.
This result
is of type bibus » asynchReply
is encoded as type
tns:asynchReply