In part 2 of this tutorial, you'll learn how to publish an FME Workspace to FME Server and run it from the FME Server web user interface.
filegdb2generic.fmwt (Community Mapping Workspace)
In part 1 of this tutorial, you ran a workspace that was already provided with FME Server. This time, you will publish our own workspaces to FME Server and run it, following these steps:
a) Open the workspace template attached to this article (filegdb2generic.fmwt) in FME Workbench.
It’s a straight-forward workspace, taking community mapping data from a file geodatabase and writing it to the Generic format. The Generic Writer is very flexible, and allows for the user to decide which format to write to when the workspace runs. Currently, it’s been set up to write to Esri Shapefile. Confirm that by taking a look at the Output Format parameter.
b) Run the workspace to make sure it works
a) In Workbench, go to File|Publish to FME Server, or select the Publish to FME Server tool.
b) Connect to your FME Server.
Enter your Server URL, then connect with a username & password. Use the default author/author username/password.
c) Select a repository and workspace name.
Click on the New button to create a new repository. Enter Server Tutorial for the name, and a description "FME Server 2016 Tutorial". Rename the workspace to CommunityMapping.fmw
d) Register the workspace with one or more services.
The services return translation results in slightly different forms:
- the Data Download service returns results as a downloadable zip file
- the Data Streaming service returns results as a data stream.
- the Job Submitter service accepts and runs workspace job requests
- the KML Network Link returns a KML Network Link that can be used in Google Earth
- the Notification Service allows for event-driven messaging.
Check the Data Download service (you can leave the Job Submitter checked). Click Publish. The log file should confirm the workspace was successfully published.
a) Open the FME Server web user interface.
Log in with the author/author username/password.
The workspace appears in the “Last Published Workspaces” section.
b) Click Run Workspace, and fill in the details on the Run Workspace page.
- select the repository we just created: Server Tutorial
- the Workspace field below will automatically be populated with the CommunityMapping workspace because it is the only one in the repository.
- the Service dropdown shows the 2 services we registered this workspace with. Pick Data Download.
c) Click on Run Workspace
There should be a successful translation, with some summary information, and a data download URL.
a) Click on the URL to download the zip file.
Open up the zip file to confirm there are a number of Esri shapefiles that result from the translation.
3 People are following this .