Methods for the Dynamic Service Activator Web Service Interface
This topic describes the methods associated with Dynamic
Service Activator, and provides information additional to that in
the WSDL file.
invokeGwExtension
Invokes a servlet that has been created and deployed in
the Web Services Gateway Web application server. The servlet can be
a standalone application, or it can be part of a WAR or EAR file.
When deployed, servlets invoked with invokeGwExtension should
be accessible only from the local host.
Arguments
extensionName—String that contains the name of the
servlet that the gateway client invokes
extensionArguments—String array of arguments that
the gateway client passes to the servlet
Guidelines—The names in the following components
and properties must be the same as the name of the extensionName argument:
The name of the WAR file that is the gateway extension
servlet
In the WEB-INF/web.xml file in the
servlet section, the servlet name
In the WEB-INF/web.xml file in the
servlet-mapping section, the URL pattern in the format /servlet/<extensionName>
Manages all operations involved with invoking scripts:
retrieves requests to invoke scripts from the gateway client, authenticates
the gateway client, verifies the arguments supplied by the gateway
client, communicates with other SRC components, and returns values
to the gateway client. For a complete description of Dynamic Service
Activator’s interactions with the gateway client and other components,
see Overview of Dynamic Service Activator.
Arguments
scriptName—String that contains the name of the
script that the gateway client wants to invoke
scriptArgs—String array of arguments that the gateway
client passes to the script
Determines whether a subscriber accesses services through
the SRC owner’s network and obtains all of that subscriber’s
subscriptions; returns the result in a two-dimensional array.
select—Similar to a SQL select statement. Use a
filter string for the first field of the select to indicate the subscriptions.
Use a list of attribute names for the second field to indicate the
subscription attributes.
Determines whether a subscriber accesses services through
the SRC owner’s network and obtains all of that subscriber’s
subscriptions; returns the result in a one-dimensional array for SOAP
clients that do not support two-dimensional arrays.
select—Similar to a SQL select statement. Use a
filter string for the first field of the select to indicate the subscriptions.
Use a list of attribute names for the second field to indicate the
subscription attributes.
Note:
This method supports only subscribers who are identified
by their IP addresses. This method does not support subscribers who
are identified by the names they use to log in or by their DNs.
Logs out subscribers. This method supports only subscribers
who are identified by their IP addresses or the names they use to
log in. This method does not support subscribers who are identified
by their DNs.
subscription—Similar to a SQL select statement.
Use a filter string for the first field of the select to indicate
the subscriptions. Use a list of attribute names for the second field
to indicate the subscription attributes.
service—Similar to a SQL select statement. Use
a filter string for the first field of the select to indicate the
services. Use a list of attribute names for the second field to indicate
the service attributes.
Expected output—One-dimensional array of AttrSeq
objects that contain the subscriber session attributes as a list of
attribute-value pairs for one subscriber