swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Topics   Other Library Functions  
function  

wsb.writer

 
 

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

Returns: An external output to which the HTTP response for the passed request should be written, including all HTTP headers.


Declaration

export external string sink function writer
  of                      value request request

Argument definitions

request
A wsb.request OMX variable that was returned from a call to wsb.wait-for-request


Purpose

The wsb.writer function is used to obtain an external output to which the response for the client request can be written. It should be noted that this function must be called once and only once for a given request object. If this function is not called on a given request prior to the next wsb.wait-for-request call, an HTTP error will be returned to the client. If wsb.writer is called more than once, an exception will be thrown.

    Related Topics
 
Other Library Functions
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:38:10 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.