|
|||||
|
||||||
Related Syntax | Other Library Functions |
function |
wsb.has-known-request-type |
Library: Web Services Broker (OMWSB)
Import: omwsb.xmd |
Return type: Switch
Returns: |
export external switch function has-known-request-type value request request
Argument definitions
The wsb.has-known-request-type
function is used in either the server or a service program to determine whether the request type is known. In a SOAP server, the criteria is that the request contains the SOAPAction HTTP header field. This function can be used to determine whether the wsb.request-name
and wsb.request-type
functions will succeed or if they'll throw exceptions.
In an XMLRPC server, the criteria is that the content type is text/xml, and that the "User-Agent:" and "Host:" headers are specified.
In a server with a user-defined protocol, the criteria is that the request has a HTTP header matching a type specified for a service via the wsb.add-service
function.
Related Syntax wsb.wait-for-request |
Other Library Functions wsb.add-service wsb.clear-all-services wsb.create-server wsb.dispatch-request wsb.forward-request wsb.has-known-request-type wsb.reader wsb.read-service-arguments wsb.remove-service wsb.request wsb.request-header wsb.request-name wsb.request-type wsb.server wsb.service-exists wsb.set-request-header wsb.start-servicing-requests wsb.wait-for-request wsb.writer |
Copyright © Stilo International plc, 1988-2008.