function
Library: Web Services Broker (OMWSB)
Import : omwsb.xmd |
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.