Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring the Test Environment for Dynamic Service Activator Services

    Configuring the settings for your test environment is optional. You can choose to enter the settings each time you test the Web client or to configure the test settings. If you choose the latter option, you can avoid repeatedly providing the same information each time you use the client.

    Configuring Settings for Dynamic Service Activator Services (SRC CLI)

    Use the following command to configure the testing environment for the Dynamic Service Activator Web service interface:

    test dsa dsa-service environment set <client-id client-id> <client-password client-password> <subscriber-id subscriber-id> <subscriber-password subscriber-password> <host host> <port port>

    To configure the settings for the test environment:

    1. Issue the test dsa dsa-service environment set command.

      To configure the settings for the document literal implementation of Dynamic Service Activator (DSA2), issue the test dsa dsa2-service environment set command.

    2. (Optional) To specify the username that Dynamic Service Activator uses to authenticate this client, use the client-id option.
    3. (Optional) To specify the password that Dynamic Service Activator uses to authenticate this client, use the client-password option.
    4. (Optional) To specify the username that the SAE uses to authenticate this subscriber, use the subscriber-id option.
    5. (Optional) To specify the password that the SAE uses to authenticate this subscriber, use the subscriber-password option.
    6. (Optional) To specify the hostname of Dynamic Service Activator, use the host option. The default value is localhost.
    7. (Optional) To specify the port for Dynamic Service Activator, use the port option. The default port is 8080.

    Configuring the Subscriber URI for Dynamic Service Activator Services (SRC CLI)

    Use the following command to configure the subscriber Uniform Resource Identifier (URI) in the testing environment for the Dynamic Service Activator Web service interface:

    test dsa dsa-service environment set subscriber-uri <subscriber-uri> <subscriber-type subscriber-type> <subscriber-address subscriber-address> <login-name login-name> <dn dn> <virtual-router virtual-router> <interface-name interface-name> <interface-index interface-index> <primary-user-name primary-user-name> <session-handle session-handle> <subscriber-constraints subscriber-constraints>

    To configure the settings for the test environment:

    1. Issue the test dsa dsa-service environment set subscriber-uri command.

      To configure the settings for the document literal implementation of Dynamic Service Activator (DSA2), issue the test dsa dsa2-service environment set subscriber-uri command.

    2. (Optional) To specify the subscriber URI value in the same format as the syntax for the subURI argument, use subscriber-uri. See Format of the Subscriber’s URI.

      For example: test dsa dsa-service environment set subscriber-uri ip:ipAddress=1.2.3.4

    3. (Optional) To specify the name of the configured subscriber type used to construct the subscriber URI, use the subscriber-type option.
    4. (Optional) To specify the IP address of the subscriber, use the subscriber-address option. This value is mandatory when the subscriber ID type is address or address-interface-name.
    5. (Optional) To specify the name with which the subscriber logs in, use the login-name option. This value is mandatory when the subscriber ID type is login-name.
    6. (Optional) To specify the DN of the subscriber profile, use the dn option. This value is mandatory when the subscriber ID type is dn.
    7. (Optional) To specify the name of the virtual router associated with the subscriber, use the virtual-router option. This value is mandatory when the subscriber ID type is interface-name or interface-index, optional when the subscriber ID type is address-interface-name.
    8. (Optional) To specify the name of the interface on which the subscriber logs in, use the interface-name option. This value is mandatory when the subscriber ID type is interface-name and is optional when the subscriber ID type is address-interface-name.
    9. (Optional) To specify the SNMP index of the interface on which the subscriber logs in, use the interface-index option. This value is mandatory when the subscriber ID type is interface-index.
    10. (Optional) To specify the primary username, use the primary-user-name option. This value is mandatory when the subscriber ID type is primary-user-name.
    11. (Optional) To specify the subscriber session handle, use the session-handle option. This value is mandatory when the subscriber ID type is session-handle.
    12. (Optional) To specify the constraints for the NIC key, use the subscriber-constraints option.

    Verifying Settings for Dynamic Service Activator Services (SRC CLI)

    Use the following command to verify the settings for the Dynamic Service Activator Web service interface:

    test dsa dsa-service environment show

    Use the following commands to verify specific settings:

    test dsa dsa-service environment show client-idtest dsa dsa-service environment show client-passwordtest dsa dsa-service environment show hosttest dsa dsa-service environment show porttest dsa dsa-service environment show subscriber-idtest dsa dsa-service environment show subscriber-passwordtest dsa dsa-service environment show subscriber-uri

    For the document literal implementation of Dynamic Service Activator (DSA2), issue the test dsa dsa2-service environment show commands to verify the settings.

    Deleting Settings for Dynamic Service Activator Services (SRC CLI)

    Use the following command to delete the settings for the Dynamic Service Activator Web service interface:

    test dsa dsa-service environment clear

    Use the following commands to delete specific settings:

    test dsa dsa-service environment clear client-idtest dsa dsa-service environment clear client-passwordtest dsa dsa-service environment clear hosttest dsa dsa-service environment clear porttest dsa dsa-service environment clear subscriber-idtest dsa dsa-service environment clear subscriber-passwordtest dsa dsa-service environment clear subscriber-uri

    For the document literal implementation of Dynamic Service Activator (DSA2), issue the test dsa dsa2-service environment clear commands to delete the settings.

    Published: 2014-12-10