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

wsb.read-service-arguments

 
 

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

Declaration

export external function read-service-arguments
        into write-only string arguments

      

Argument definitions

arguments
A variable shelf into which any service arguments are copied, as well as any WSB-provided arguments


Purpose

The read-service-arguments function enables a service to retrieve a copy of the contents of the args parameter to wsb.add-service or wsb.dispatch-request. Note that the copies are not shared between service instances, so modifying the shelf in one instance does not affect the shelf in another instance.

In addition, the WSB can add entries to the shelf for each service instance. To avoid any collisions, do not pass any arguments which have a key beginning with "_OM_".

Currently, the only entry added is "_OM_UniqueDirectory" which contains the path to the unique directory created for that service instance. This entry is only added if the unique-dirs parameter was passed to wsb.create-server, wsb.add-service or wsb.dispatch-request for this service. That path should be used for any files or directories created by the service instance while working, and they will be deleted when the service instance exits.

    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.