Previous Topic

Next Topic

Book Contents

Book Index

AI_PollForAssetMetaData

The AI_PollForAssetMetaData web service polls the status of a request for the metadata and entitlement status of one or more assets. It uses the handle returned by a prior call to either of the following:

If the asset metadata request is completed, AI_PollForAssetMetaData returns an HTTP-based URL to a ZIP file that contains the information. You can then retrieve the actual ZIP file using an HTTP request.

A ZIP file created by a call to AI_InitiateAssetMetaData remains available until AI_AcknowledgeAssetMetaData is called using the same handle. This allows you to retrieve the ZIP file again if an error occurs during transit.

However, a ZIP file created by a call to AI_GetMultipleAssetMetaData always remains available until it is manually deleted. AI_AcknowledgeAssetMetaData does not operate on files with handles generated by AI_GetMultipleAssetMetaData.

Inputs

Outputs

Faults

The following table lists additional faults this service may produce, along with the error condition that causes the fault.

Fault

Condition

DataNotReadyYetFault

Returned if the asset metadata is not ready yet. If this fault occurs, wait a reasonable time interval and invoke the service again using the same handle.