Run the Web Services

Run SWS V2 web services from a supported web browser (see Prerequisites). Below are examples of a sample run of the web services using Google Chrome.In the example, the web service is run with the Protocol configured to https and Authentication Type configured to None.

Figure 1: Example of SWS V2 run using Google Chrome

SWS V2 displays an error if a mismatch in the protocol exists, as illustrated below.

Figure 2: Example of SWS V2 Protocol Failure using Google Chrome

Similarly, if you provide a username and/or password in the query parameters, it is ignored.

SWS V2 supports different formats for response. The supported formats are TEXT, XML and JSON. However, there are certain web services that only support TEXT and JSON. For information on the supported formats for a particular web service, see the StorNext Web Services Guide online at http://www.quantum.com/snsdocs.

Quantum recommends JSON as the preferred format since most web services support this format. XML is also supported, but it is primarily used for compatibility with existing applications.

Below is an example of the same web service run with the XML format request.

Figure 3: Example of Web Service run with the XML Format using Google Chrome

Below is an example of the same web service run with the JSON format request.

Figure 4: Example of Web Service run with the JSON Format using Google Chrome

If the Authentication Type is configured to User, the web service request requires a valid username and password.

Figure 5: Example of a SWS V2 run using Google Chrome

If the user credentials are not provided, an error appears.

Figure 6: Example of a SWS V2 User Credential Failure using Google Chrome

If the incorrect username and password are provided in the credentials, a corresponding error appears.

Figure 7: Example of SWS V2 User Credentials Incorrect Error using Google Chrome