The DeliverToStreamServlet is a servlet which can be deployed within a Web services container and receives outputs from the deliverToStream activity.
The servlet must be installed in the same Web services container as OGSA-DAI.
To install the DeliverToStreamServlet:
<servlet>
<servlet-name>DeliverToStreamServlet</servlet-name>
<display-name>OGSA-DAI Deliver To Stream Servlet</display-name>
<servlet-class>
uk.org.ogsadai.activity.delivery.DeliverToStreamServlet
</servlet-class>
</servlet>
<servlet-mapping> <servlet-name>DeliverToStreamServlet</servlet-name> <url-pattern>servlet/DeliverToStreamServlet</url-pattern> </servlet-mapping>
When the deliverToStream activity is executed then data will be streamed to the following URL:
http://HOST:PORT/ogsa/servlet/DeliverToStreamServlet?url= http://HOST:PORT/ogsa/ogsadai/GridDataServiceFactory/hash1234567890 &streamId=NAME
where NAME is the value of the name attribute of the deliverToStream activity.
| Up: OGSA-DAI User Guide | ||
| © International Business Machines Corporation, 2004. | © The University of Edinburgh, 2004. |