swirl
Guide to OmniMark 7   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax     Other Library Functions  
function  

wsb.writer

 
 

Library: Net, 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 output 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 called more than once, an exception will be thrown.

    Related Syntax
   wsb.wait-for-request
 
  Other Library Functions
   wsb.add-service
   wsb.clear-all-services
   wsb.create-server
   wsb.dispatch-request
   wsb.has-known-request-type
   wsb.reader
   wsb.remove-service
   wsb.request
   wsb.request-header
   wsb.request-name
   wsb.request-type
   wsb.server
   wsb.service-exists
   wsb.start-servicing-requests
   wsb.wait-for-request
   wsb.writer
 
 

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

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:46:07 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.