Obtaining a version number for a Web service

To request a version number for a Web service interface, obtain the WSDL document for the web service from a running data domain in Endeca Server. The WSDL document indicates the version of a Web service.

You can obtain a WSDL document for a specific Web service once an Endeca data domain is running.

Each Web service has its own version. If a Web service has more than one minor version (for example, 3.0 and 3.1), then the newer version is backward-compatible with the older version, and all these versions are listed in the WSDL document.

To obtain the version number from a Web service:

  1. Issue a request to Endeca Server for the WSDL document of the web service on a specific data domain, using this syntax:
    http://host:port/endeca-server/ws/WSName/<dataDomain?wsdl

    where host and port represent Endeca Server, WSName is the name of the Web service, and <dataDomain> is the name of the data domain created on the server.

    For example:
    http://localhost:7001/endeca-server/ws/config/books?wsdl
    In the WSDL document, the major and minor versions are displayed in one of the required namespaces, as follows:
     xmlns:config-service-v3_0="http://www.endeca.com/MDEX/config/services/config/3/0"

    In this example, 3 is the major version, and 0 is the minor version.

    If there is more than one minor version, then all of them are supported and listed in the WSDL document. The most recent version is backward-compatible with the other minor versions listed in the WSDL document.

  2. Repeat the process for any other Web service whose version you need to verify, using the name of any of the available Web services.