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

wsb.request-name

 
 

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

Returns: A string containing the service name being requested.


Declaration

export external stream function request-name 
  of                       value request request

Argument definitions

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


Purpose

The wsb.request-name function is used in either the server or service program to retrieve the service name being requested. This function would typically be used by the server program so that it can determine whether to add a mapping for the unknown request, handle the unknown request itself, or write an error to the client. It may also be used in a service program which is designed to provide more than one service. If the request is not for a recognized service type, then an exception will be thrown. The criteria for whether or not the request will be recognized are outlined in the wsb.has-known-request-type function. That function can thus be used to determine whether or not it's safe to call wsb.request-name.

    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.