Connecting FME to web services. Use of APIs. Mobile Apps.
Recently active
I'm using a PythonCaller to get a list of files in an FTP site folder as per this question:https://knowledge.safe.com/questions/35179/use-pythoncaller-to-get-list-of-files-in-directory.htmlThis is because at the time, the FTPCaller didn't have the ability to download a folder, and the names of the files I want to download are not known. Once the list of files has been retrieved, the names of those that are CSV files are passed to the FTPCaller to download.The FTP download functionality is in its own Workspace, called from a parent Workspace by a WorkspaceRunner. If there is a problem with the FTPCaller (Rejected port), an email is sent and a Terminator terminates the Workspace. The parent Workspace then picks this up via the Failed port of the WorkspaceRunner and abort subsequent processing steps that would have taken place on the downloaded data.It also used to send an email and terminate if there are no files to download, or none of the files are CSVs. I now want to Termi
In FME / Esri compatibility chart it says ArcGIS 10.7.1 requires FME 2019.1 or higher I tried FME 2018.1.2 and had no problems.Can anyone detail what issues may arise with using FME 2018.1.2 for writing ArcGIS 10.7.1 FileGDB/SDE ? Thanks for any hints
I'm trying to download a zipfile containing a fgdb. I've used https://knowledge.safe.com/questions/68018/download-zip-file-from-password-protected-website.html as a resource for structuring my workspace, but regardless of multiple attempts with slight variations it fails to download the zipfile/creates a blank 3 KB zipfile that says is Invalid when attempting to open it. Attached is my workspace (credentials removed for security reasons) with URLs included. Any idea what may be causing the failure? @takashi @danilo_fme
I'm using the HTTPCaller to upload (POST) a file as well as some additional data. This is relatively simple when the file to be uploaded is sitting on the file system somewhere. Simply set the HTTPCaller Upload Data type to "Multipart / Form Data" and set the multi-part content for the file portion to point to the file on the file system.However, my file content (not the path to a file) is already in an attribute on the feature. Does anyone know if I can get the HTTPCaller to upload a file in this way?Nic
Hi Folks, Can you please help me in pulling some data from Trimble connect by using http caller and API?I do have my API but I don’t know how to use it and how to setup my http caller to pull my images from there (what Request URL should I use to have this), any help will be appreciated. Cheers,
HiI am trying to connect to an open data API which contains geoJSON using the HTTPCaller. However I am getting the following error message: SSL peer certificate or SSH remote key was not OKII was able to get the geoJSON when I copied the API URL directly into the IE browser. Does anyone know what settings I need to set on the HTTPCaller to be able to access the geoJSON through FME?I am using FME2019.1 DesktopThanks,
I would like to use FME PythonCaller to call ArcPy Feature Vertices to Points. An advise towards this approach will be appreciated
Hi I have followed the instructions in https://knowledge.safe.com/articles/45314/working-with-soap-services.html to call a WCF service. The XML request is correct, as I can get a successful response back when copying/sending same request via soapui.However HTTPCaller gives me the following error message:The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).</faultstring></s:Fault></s:Body></s:Envelope>
I am testing a new installation of FME Server 2019.1.2 (32 bit) on a new server with ArcMap 10.7.1 installed. How do I get it to use the Python 2.7 interpreter that I told it to install in the initial installation? I am having issues with overwriting geodatabases. It keeps giving the 'Unable to remove existing dataset at location' error.
There is no error however the download folder is empty.Tried providing the custom proxy settings however still no luck
i'm attempting to use Esri ArcGIS Feature Service Reader and it is secured in fme 2018.1 it gives me this error (This may be a temporary server issue, or insufficient permissions. The error code from the server was '499' and the message was: 'Token Required' ).Any guidance is much appreciated!
I'm trying to download a filtered csv from a URL but the HTTPCaller is transforming the URL in a weird way by adding codes for single quotes, greater than signs, and spaces in the URL. The previous step in my model is a SQLCreator that queries a table in my database to figure out what the latest payment_date is, then returns that date formatted as: '2019-09-20T00:00:00.000'In the HTTPCaller, I have the following in the Request URL: https://*baseURL*.csv?$where=payment_date...and the following as a Query String Parameter: > (in the name column) and InvoiceDate (in the value column but set as the result of the query above.The URL I need to form with this is: https://*baseURL*.csv?$where=payment_date>'2019-09-20T00:00:00.000'Instead, what I'm getting is this which doesn't work in a browser or in FME: https://*baseURL*.csv?$where=payment_date&%3E=%272019-09-20T00%3A00%3A00.000%27' The best I can tell is that FME is translating the symbol for gr
Hello, I'm attempting to write records from a file geodatabase to a hosted feature service on ArcGIS Online. The feature service already exists and is populated with records, the writer is set to update. When running the translation I get the error message (the object names have been removed): ArcGIS Online Feature Service Writer: 'updateResults' error for a feature in '---'. The error code from the server was '1000' and the message was: 'The UPDATE statement conflicted with the FOREIGN KEY constraint "---". The conflict occurred in database "---", table "---", column 'GlobalID'. Any idea what is causing this error? Thanks!
I am submitting a payload to the HTTPCaller and in most circumstances it works as expected, however in some it doesnt and sens me back a 'HTTP/1.1 500 Internal Server Error as below.HTTP/1.1 500 Internal Server ErrorWhen I take the payload directly from the database it simply takes too long and looks like it is not being formatted correctly e.g. missing carriage returns. I believe this to be true because when I extract that payload and submit it through Insomnia directly to the end point I can recreate the issue.To be nosey I added a Logger transformer and looked at what I was sending to the endpoint, ironically when I copied and pasted this out it was subtly different and succeeded in milliseconds! I am really confused why this would be different and what to do to remedy this.
Hi,I did installed FME Desktop on Windows partition (mac). I just started learning FME. I did extracted the data onto C:\\ drive as mentioned , and was unable to run the data (failed). Anyone can guide me on this issue.Regards
Scenario, we have a webapp that uses the rest api to run workspaces. User does not have an account on FME Server. User interacts with the web app. User receives an email that includes a link to the log file. How can I set up FME Server permissions so that the user can simply download the log file from the email link without having to enter a username/password? This should be the absolute minimum required permissions. Ie there should be no unauthenticated access to run the jobs themselves.
I am still learning FME Server's REST API and was wondering if it is possible to use python to upload a file to FME Server to be processed and receive the data download file? I am going through the REST API training and working with code that is available on the developer playground,[https://playground.fmeserver.com/python-request/] but could use some guidance on how to properly upload a file to FME Server to run the workspace and retrieve the download. For my test purposes, I'm just using txt files. I would like to upload a text file, then retrieve the output text file data download zip. I'm not familiar with Javascript, so I was wanting to integrate this into my Python application.
Historically, we have allowed our users to manage their own web application server when performing a custom distributed or fault tolerant installation of FME Server.Both Apache Tomcat and Oracle WebLogic are supported.While researching improvements regarding process efficiency, there is a proposed change that could affect compatibility with Oracle WebLogic. We would like to understand the potential impact that removing support would have for our users. What if FME Server no longer supported installing the web services layer to your existing Oracle WebLogic installation? What impact would this have for you and your organization? Would you be able to transition to Apache Tomcat – or use the default web application server that we provide (which is Tomcat)? We would like to understand what the benefits are for you and your organization to use Oracle WebLogic. We would be very hesitant to make any change if we couldn’t support specific needs that WebLogic might provide.Please add comment
Hi, I'm having difficulties understanding SOAP in FME. I followed through https://knowledge.safe.com/articles/45314/working-with-soap-services.html but I always get 500 Internal Server Error. Using SOAP UI everything goes smoothly (see pictures bellow) but in FME I just can't get it running correct. It uses this SOAP schema: https://oss.uredjenazemlja.hr/OssWebServices/services/AuthenticationService.wsdl Can you please show my what I'm doing wrong. Cheers,Zelimir
This is somewhat of a bigger picture type question and perhaps better if directed at ESRI, but figured I'd ask here too. I've had this problem with FME 2015 and my current 2018 version (FME(R) 2018.0.0.2 (20180414 - Build 18301 - WIN32)). I use ESRI ArcGIS Data Interoperability extension to access the FME workbench.I generally will run my tools directly in workbench, but occasionally I'll run them from the toolbox containing the Spatial ETL tool in ArcCatalog. I can only get this to work if I run my tools in "Debug..." mode. Opening a spatial ETL tool ("Open..." or simply double-clicking it) pulls up the dialog box where I can enter published parameters, but clicking "OK" to run the tool this way always results in the spatial ETL tool failing and/or ArcCatalog kicking out a background processing warning ("Backing processing has encountered a serious error and is unable to continue"). The Results pane in ArcCatalog gives an "ERROR
hello I'm using a HTTP caller with the request url https://opendata.cbs.nl/ODataApi/odata/84468NED/TypedDataSet Unfortunalely there is al limit on download: The given query is not allowed on this table. Please redefine your query so that it returns less than 10000 records.' from ... How can I get the total data from this site? And afterwards do I have to merge the data to a complete file?Do you have an example workspace? thanks for your support
Hello,This maybe more of a ArcGIS question, not sure. I'm hoping someone can give me some hints?I'm trying to set colors and shaders for i3c scenes, but can't figure it out:The FME Export looks fine in ArcGIS:But gets overriden in a web scene? The ESRI validator complaints about texture definitions:Metadata.json validation: No issues were detected.-------------------------------------------------------------------------------3dSceneLayer.json validation: Warning: Missing Value: heightModelInfo attributeValues Information: Deprecated: ZFactor-------------------------------------------------------------------------------Statistics validation: No issues were detected.-------------------------------------------------------------------------------Node validation: Error: Missing Value: For node 0 could not get property textureDefinitions. For node 1 could not get property textureDefinitions. For node 2 could not get property te
I try to post a message to MS Team by using HTTPCaller. I connected to Mocirasoft Graph successfully by using FME Web Connection. However, I have no idea how I can post a message to MS Team by using FME. Please find the log file attached when I used HTTPCaller. Thank you.
I'm getting an error with the HTTP Caller in my workbench. I'm calling a POST request on my dev website and keep getting the following error; "HTTPCaller (HTTPFactory): Received HTTP response header: 'HTTP/1.1 415 Unsupported Media Type' from 'https://xxxxxxx.com/dev/xxxxxxxxx/xxxxxxx?sample_id=J55-1-29&apitoken=xxxxxxxxx&sample_depth_base=1391.1&surface_latitude=50.68319&surface_longitude=-101.860471&location_name=test1&toc=99&lithostrat_group=NULL&formation=Winnipeg&member=NULL&sample_lithology=Shale%2Fmudstone&gts_period_old=Ordovician&s_c_ratio=NULL&o_c_ratio=NULL&h_c_ratio=NULL&inertinite=NULL&liptinite=NULL&vitrinite=NULL&s2=96.19&tmax=435&hydrogen_index=924&oxygen_index=16&production_index=0.01&vroe=0.8&ro=NULL&thermal_alteration_index=NULL&spore_colour_index=NULL' The string it is trying to pass through works successfully when pasted into a browse
Hi,I have ArcGIS desktop 10.2.2 (with background geoprocessing) and ArcGIS Pro 2.1.2 installed. I'm running FME 2018.0 , no admin rights. How do I call specifically the ArcGIS Pro Python 3.x (C:\\Program Files\\ArcGIS\\Pro\\bin\\Python\\envs\\arcgispro-py3) from the Python Caller? When running the Python Caller example here:https://knowledge.safe.com/articles/47216/using-arcpy-for-fme-feature-processing.html I see this message in the log:Using Python interpreter from `C:\\WINDOWS\\system32\\python27.dll' with PYTHONHOME `C:\\Python27\\ArcGISx6410.2'Python version 2.7 loaded successfully I don't quite understand the implications of changing the FME interpreter itself...does that limit the functionality of FME tools if I change the entire workbench to run from another version of Python? Incidentally when I've changed it in FME>options>translation>Python interpreter (from FME 2.7 to the ArcGIS Pro option) - it has no impact. In my head - what I want to do i