wsb.reader

function

Library: Web Services Broker (OMWSB)
Import : omwsb.xmd

Returns: the body of the request


Declaration
export external string source function reader
  of                           value request request

Argument definitions

request
The request OMX returned by a call to wait-for-request


Purpose

The wsb.reader function returns the entire request body, i.e. All the POST data in the client HTTP request. This data can then be parsed in OmniMark and processed to gather data needed to formulate the response. If this function is called more than once, an exception will be thrown.

Related Topics