Skip to main content
Solved

How to set up web connection to fme server 2023?

  • August 24, 2023
  • 6 replies
  • 84 views

limo
Supporter
Forum|alt.badge.img+8

Hi,

 

I have a workbench where I download data from Arcgis online.

For this I use the transformer "ArcGIS_AP_FileGDBExport". This works fine with FME Form. But I will use this workbench inside fme flow and during the upload comes the following warning:

image 

If I ignore the warnings the workbench is not working! How can I set up web connections correctly in fme flow?

Best answer by limo

What are those connections connecting to? It looks like you're using parameters to have the user select them and that's throwing the publish wizard off for some reason, then again the error says it's missing or not supported...

I am not sure I need only the Web connection for ArcGis online used by the transformer "ArcGIS_AP_FileGDBExport" or "ArcGISOnlineConnector".

I think the token is only valid for a limited time. The docu says the OAuth-token created by authorization code is valid for 30min. This would apply to me. The process is working in fme flow for 30min. After this time the connection is not valid.

 

Maybe I can try "ArcGISOnlineTokenGetter" to gt for every process a new token for the AGOL connection!

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

redgeographics
Celebrity
Forum|alt.badge.img+62

What are those connections connecting to? It looks like you're using parameters to have the user select them and that's throwing the publish wizard off for some reason, then again the error says it's missing or not supported...


limo
Supporter
Forum|alt.badge.img+8
  • Author
  • Supporter
  • Best Answer
  • August 29, 2023

What are those connections connecting to? It looks like you're using parameters to have the user select them and that's throwing the publish wizard off for some reason, then again the error says it's missing or not supported...

I am not sure I need only the Web connection for ArcGis online used by the transformer "ArcGIS_AP_FileGDBExport" or "ArcGISOnlineConnector".

I think the token is only valid for a limited time. The docu says the OAuth-token created by authorization code is valid for 30min. This would apply to me. The process is working in fme flow for 30min. After this time the connection is not valid.

 

Maybe I can try "ArcGISOnlineTokenGetter" to gt for every process a new token for the AGOL connection!


siennaatsafe
Safer
Forum|alt.badge.img+12

Hi @limo,

 

This looks like a bug to me. What version of FME Form and Flow are you using? Would you mind posting your workspace? I wouldn't need the data, I'm just curious to see how your using the connection in the workspace.


limo
Supporter
Forum|alt.badge.img+8
  • Author
  • Supporter
  • August 30, 2023

We are using FME Form 2022.1.3.0 and FME Flow 2023.0.1. You will find an excerpt of the workbench attached. The web connection can be tested successfully! But where do I have to insert the code?

 image


siennaatsafe
Safer
Forum|alt.badge.img+12

Hi @limo,

 

That doesn't look quite right have you followed the steps here? https://community.safe.com/s/article/How-to-Create-an-ArcGIS-Online-Web-Connection

 

Maybe confirm that the FME Flow Web Service has a redirect URI set.

 

I did take a look at your workspace. In the future, I would ensure that the Form version matches the Flow version. Compatibility issues can arise this way.

 

I suspect there is something in the custom transformer that FME doesn't like or isn't picking up. I couldn't access it as it is password-protected. However, if you make a support case with your reseller they should be able to determine the cause.


limo
Supporter
Forum|alt.badge.img+8
  • Author
  • Supporter
  • September 4, 2023

hi @siennaatsafe​ ,

 

thanks for your answer. I followed these instructions on the website you have specified. But unfortunately it doesn´t work. I will rewrite the process so that I generate a token first. After that I download the data from ArcGISOnline over the API. For this I use the HttpCaller with the new generated token!. So for this process I no longer need a web connection.