Connecting FME to web services. Use of APIs. Mobile Apps.
Recently active
I am trying to run a job on FME server through REST API and want to pass user parameters through it. How do I know which parameters of the particular transformers are exposed to the REST API ?
Hi there! I am currently taking the REST-Workshop, provided by safe.Now i have quiet a simple task: I want to call a Workspace on FME Server via REST and in the Response there should be a certain value, that the Workspace created based on published parameters send with my request. I am working with Postman and basically you can imagine my needs like this:I want to give two numbers via REST to a Workspace on FME Server, these two are added up and the sum will be send back in the Response. So it is synchronus, right?My workspace already works, and i can start it with REST, but how do i get my stuff in a response without making another REST-Call? Thank you very much for thinking about my problem!
Hello. Does anyone know a solution on how to grab a file from FTP using wildcard along the lines of filename*.txtWe receive a daily file drop to our FTP with a timestamp attached to the end of the filename. It would be helpful if we can set up a workspace that grabs the file using partial filename only. This wildcard works for the folders on a local machines, but does not work for us on an FTP. Any helps will be greatly appreciated.
I am trying to export z values from my LiDAR data so that I can further analyse in ArcMap. I cannot use the LAS extension available in ArcMap so it would be best if it could be done in FME.
I have a "master" workspace that runs other child workspaces via the FMEServerJobSubmitter. I am able to migrate the workspace between development and production FME environment because the account to access the child workspaces exists on all environment. The issue is when I try to get the results of the child workspaces via the HTTPCaller. I am hard-coding in the REST url. I can't migrate between environment unless I change the URL parameter for each environment (migrating involves creating a project, and export it out of one environment and importing into another). Just wondering if there's a way for each environment to build the URL based on something it can get while on that environment? Thanks!The web connection would have the server host name. Anyway to get that info after the FMEServerJobSubitter maybe?
I have LiDAR data with elevation data attached to it. I want to reduce the LiDAR data to the black dots (drainage pits) and deduce z values for all the pits. Is there a way to do it?
Hi I am trying to run this POST request but it doesn't pass the parameter correctly, can anyone kindly suggest what I am doing wrong? I am trying in Postman first and then will change it to work in SQL ServerThank you POST /fmerest/v3/transformations/transactdata/office_tasks/ROCK_PROPERTY_TO_TEAM.fmw?fmetoken=41544e72aac7b3da0b9095eac0cbdc23120b6d97 HTTP/1.1Host: xxx.fmecloud.comContent-Type: application/jsoncache-control: no-cache{ "publishedParameters": [ {"name": "file_path","value": "Rock_Properties_Upload_TEST1.xlsx"} ]}
Hello:I have a project I'm working on where I connect to an API endpoint to get class information. The API requires that I establish oauth parameters and create the signature base string by:1) Converting the HTTP method to upper case and set the output string equal to this value2) Append the '&' character to the output string3) Percent encode the URL and append it to the output string4) Append the '&' character to the output string5) Percent encode the parameter string and append it to the outputThe final signature base string is encrypted using the consumer secretI've accomplished all of the above with a variety of transformers in a workspace. My question is, how do I call the API endpoint when the URL has been encoded? This is something I've never had to do. Most of the API's I've processed against did not have this level of security/authorization and encryption (I had to encrypt my consumer secret). I saw the Twitter API HTTPCaller post bu
I am looking to extract from the GDB the following information Table nameDomain nameidvalue Looking for this in order to do some mapping to a different databaseThanks
hı,I'm trying to get SOAP services with FME. I've connected to some soap services using the following example.https://knowledge.safe.com/articles/45314/working-with-soap-services.htmlThe soap service I'm trying to connect to now has IP-based authorization. and it requires authentication. I can connect with SoapUI.the result window of the request is as follows.XMLtemplater image ==>HTTPCaller image ==> error output ==> HTTPCaller(HTTPFactory): Received HTTP response header: 'HTTP/1.1 500 Internal Server Error'where the problem comes from. can you help pleasethanks..
I'm planning to develop a system that should contain a function to automatically configure a publication on an FME Server according to parameters set by a user via a web app.I think it should be possible with FME Server REST API [POST] /notifications/publications (Create Publication).However, so far, I've not found a comprehensive documentation on parameter values such as "publisherName", "properties/name" etc. applicable to a publication - e.g. Email (SMTP) publication.Where can I find that?
Hi all, I hava a question about FME Cloud Server.Could I FME Cloud Server trigger on demand? It's meaning when I use I will run it and finish will be turn offThank you
I try download file in resources path using rest api, using get method:http://myhost/fmerest/v3/resources/connections/FME_SHAREDRESOURCE_DATA/geodados/Bairro_Popular.zip?fmetoken=2c537eb21c3ff7b5e0d64be0d6a02b10f149a5b5 but my response is:"message":"null for uri: http://myhost/fmerest/v3/resources/connections/FME_SHAREDRESOURCE_DATA/geodados/Bairro_Popular.zip?fmetoken=2c537eb21c3ff7b5e0d64be0d6a02b10f149a5b5"}My file is in Resources > Data > geodados > Bairro_Popular.zipMy user has permissions. Does anyone know the reason for the error?
I am trying to connect to Woocommerce's API and extract some information and then tie orders to a map service and update a field. I am really new to working with API's and need some basic info on what I need to start. I would like to make a call to the API statement below and return a table, this is similar to the Workbench I have attached. Any help from existing documentation or a start on a work bench would be great. Thanks API Call Doc: http://woocommerce.github.io/woocommerce-rest-api-docs/#list-all-orders
Let's say I have 10 features and each of them has an URL that I can use within a HTTPCaller.If I have what I need within the first URL though (validation made by a Tester just after), I want the HTTPCaller stop making calls.How could I do that?Thanks!
I use Raven GPS systems for tracking industrial assets. Can I connect to the API using FME? How can I use FME to make my life easier?
Hello:I have an external resource that has an API that utilizes basic authentication using a token.When I run the api call using postman or other REST API testing software, I get an OK response.When I try running it using the httpcaller, I get a:HTTPCaller(HTTPFactory): Received HTTP response header: 'HTTP/1.1 403 Forbidden' message.Inspecting the response body gives:{"code":"rest_forbidden_context","message":"Sorry, you are not allowed to view entries","data":{"status":403}} I know that the api is working because it works in POSTMAN and other REST API testing software. What am I missing to get http caller to work?I'm new to APIs and to FME. I'll be happy to provide any info needed.Thanks! Herbert Cruz Here's the input on FME. And here's the RESTLET testing input Thanks everyone!
I have a workspace that creates a csv file, that I want to upload to a ftp server.Should I use one workspace or two? One option that I am considering is to have two workspaces. The first creates the csv file and places it in a directory. The second workspace is just the FTPCaller (triggered by a creator) and runs when the first workspace successfully completes.Or, is it possible to have a single workspace, that both creates a csv and uploads it to the ftp site?
Is it possible to FTP and create a binary file from attribute?I need to http pull binary files, eg pdf, xls and then FTP them elsewhere as part of a migration I don't really want to download to file so it would be better to download to attribute then FTP up. There is no option to set as 'fme-binary'
Hello:(apologies if this is a double post. I wrote it and then signed in)I'm learning FME and APIs and have been trying to use httpcaller to retreive information from an API and convert the information into excel columns. I've figured out the httpcaller portion, but I end up with an excel file with a single column that contains all of the data for each row instead of separating each bit of data into their own columns.Any ideas on how to take the httpcaller API JSON output and convert it into a usable excel sheet? Current sample output is below.Thanks!
Workbench Flow:1. Download files from Source FTP Server to an attribute in FTPCaller.2. Upload these files from attribute to Destination FTP Server .Files in destination getting corrupted. Attached is the workbench & FME log showing more data is uploaded that downloaded for that file. File type tested are .mdb & .zipPlease advise if someone came across such issue.Thanks.
Hello,In the context of working on a GIS database I want to build the topology between existing features, for example transform some intersection points into nodes and some common segments into common edges. How this is done within FME ? I was thinking about using the topology builder but as I've seen in the documentation : ''The TopologyBuilder will not correct data - it will only find relationships and intersections that exist. ''It seems that the transformer only shows the topology and doesn't build it effectively with the data. Please correct me if I am wrong.Thank you very much.
I am trying to use the HTTPCaller transform to access an internal web application ( mvc5) hosted on IIS8. It always returns an error 500 , regardless of the authentication method used - I suspect ho it passes the account information is the issue as if I disable authentication I get the 401. The FME desktop is on a dedicated machine with a dedicated account and this account can access the url using IE/Edge without any issues. I was wondering if the transformer supports Kerberos authentication, and if not, can someone please suggest another method I can use to read a specific web page on our authenticated web application.Note: We use 2017.1 desktop only and our network is pure Windows with no internal proxy for routing.Any suggestions at this point would be greatly appreciated, as this is driving me crazy.
I am trying to generate a report to include a static image of GIS data that one would see on an AGOL webmap\\app. It seems like this should be able to be done using the HTTPCaller transformer and having it GET the image from a URL that leads it to the ArcGIS REST Services - Export page. I can go to this page and manually enter in the bounding box parameters, map scale, and format and get the image that I want. But when I put this URL in to the HTTPCaller or the ImageFetcher, I get no image returned. Can anyone provide an answer as to why I am not seeing anything returned or has gone through this process and can share how they completed this task?Can I enter in these query parameters with the URL or do I have to enter them in through the 'Query String Parameters'? *Couldn't get that to work either* I am fairly new to FME so my issues are most likely a lack of knowledge.