DeliverToStreamServlet

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.

Installation

To install the DeliverToStreamServlet:

  1. Edit the file
    CONTAINER/webapps/webapp/WEB-INF/web.xml
    
  2. Shutdown and restart your Web services container.

Usage

When the deliverToStream activity is executed then data will be streamed to the following URL:

http://host:port/webapp/servlet/DeliverToStreamServlet?url=
service&resourceId=resource&sessionId=session&streamId=stream

where

For example:

http://localhost:8080/axis/servlet/DeliverToStreamServlet?url=
ogsadai/DataService&resourceId=One&sessionId=
session-ogsadai-106c06ab61c&streamId=delivery
http://localhost:8080/wsrf/servlet/DeliverToStreamServlet?url=
ogsadai/DataService&resourceId=One&sessionId=
session-ogsadai-106c06ab61c&streamId=delivery