Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-17995

Document "version" and "default_client_version" for ESDL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4.0
    • Component/s: Documentation
    • Labels:
      None

      Description

      There're 2 version related attributes for a daynamic ESDL service, version and default_client_version:

      ESPservice [version("0.02"), default_client_version("0.01")] EsdlExample
      {
          ESPmethod JavaEchoPersonInfo1(JavaEchoPersonInfoRequest, JavaEchoPersonInfoResponse);
          ESPmethod RoxieEchoPersonInfo(RoxieEchoPersonInfoRequest, RoxieEchoPersonInfoResponse);
      };
      

      The default_client_version will be used for API requests in SOAP format if the client doesn't specify the version. The "version" will be used for requests coming from a web browser. default_client_version is normally lower than version. The reason for this behavior is for better API backward compatibility, and in the mean time allowing users to see the latest interface from the browser. If default_client_version is higher than version (which is rarely the case), the service will use default_client_version for all requests that don't specify a version.

        Attachments

          Activity

            People

            • Assignee:
              jamesdefabia Jim DeFabia
              Reporter:
              mayx Yanrui Ma
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: