Select Tools > FME Options > Web Connections.
Many web services require you to connect and authenticate in order to make REST calls to them. For example, when you use an HTTPCaller transformer, you may need to authenticate to a web service, such as Google BigQuery. The Web Connections page allows you to manage web connections and their associated web services.
FME Form must be registered to use the web services to which you want to connect. For testing purposes, many of the most common services that authenticate using the OAuth standard are already registered in FME. For production applications, we recommend that you add your own web services.
In other cases, FME provides only a reference template to the web service. To use the service, you must likewise provide your credentials in order to use it. If the service adheres to the OAuth 2.0 standard, you can provide these credentials dynamically when adding a connection (see below).
To view the web services that are available in FME, click Manage Services. The Manage Web Services dialog opens, listing the available services.
To add a service, on the Manage Web Services dialog, click the Add Web Service button
. In the dropbox, specify the authorization protocol the service uses:
Alternatively, to use an existing service as a template, select Create From.
The newly added web service opens. In the list of services, enter a name for the service. Add the service parameters, and click Save.
and select Create From > Google Drive. After specifying a Web Service Name and Description, expand External Help Links, and click Google Drive Help for information on obtaining Google Drive web service credentials.To remove a service, on the Manage Web Services dialog, select the service you want to remove and click the Remove button
.
When you upload a workspace to FME Flow, and the workspace contains a web connection, you can choose to upload the connection with the workspace. Doing so also uploads the associated web service. However, you can also upload web services directly from Web Connections, or update a web service that was previously uploaded.
For information about working with web services and web connections in FME Flow, see Web Connections in the FME Flow Web User Interface help.
Use the Web Services Connections window to manage web connections.
It is usually more convenient to add a web connection at the time you want to use one in a workspace. However, you can also add a web connection directly in FME Options, and use it later in a workspace.
and select Add. If the web service adheres to the OAuth 2.0 standard and is not yet defined in FME, a Create New <web service> dialog opens that allows you to create the service dynamically. For more information, see Managing Web Services, above.
Visibility: This field applies only if Database Accessibility, as specified in Tools > FME Options > Default Paths, is Shared. Specify whether the connection is available only to yourself, or to any user of the database (Shared). For more information, click Help from the Default Paths window under Tools > FME Options.
and select Import.You can upload a web connection to FME Flow directly from the Web Connections page. Doing so also uploads a reference to the associated web service, and populates it with the credentials from the web connection. Right-click on the connection you want to upload and select Upload. The FME Flow Connection widget opens. For more information, see Connecting to FME Flow.
You can edit the connection parameters of an existing web connection. After you edit, all workspaces that use the web connection will use the new parameters to connect.
.You can change the location where the connection configuration file is stored. This change is made in the Tools > FME Options > Default Paths tool.