Skip to main content
Solved

Not able to create a web connection

  • September 25, 2024
  • 9 replies
  • 84 views

nea
Contributor
Forum|alt.badge.img+9
  • Contributor
i”m unable to create the web connection despite all the documentation.
 

 

Best answer by todd_davis

You could try that token url in the “token url” parameter in the web connection you showed. Not sure it will work because I don’t know how that web service is setup, but worth a shot.

View original
Did this help you find an answer to your question?

9 replies

hkingsbury
Celebrity
Forum|alt.badge.img+55
  • Celebrity
  • September 25, 2024

Is there any more information in the log?

I’m also assuming that you’ve tried going that URL and using those credentials to login successfully?


nea
Contributor
Forum|alt.badge.img+9
  • Author
  • Contributor
  • September 27, 2024

I’ve used this URL and credentials to successfully log into Portal in Arcgis Pro and in a browser.  The log file had no information.


todd_davis
Influencer
Forum|alt.badge.img+22
  • Influencer
  • September 27, 2024

Hi,

I have not seen this “Esri ArcGIS Portal token” Web service before (Most people use Oauth2). Can you share a screenshot of the Web Service configuration.

My first suggestion is that the login URL is not the same as the token URL. The token url can be found by looking at https://Domain/portal/rest/info

Cheers,

Todd

 


nea
Contributor
Forum|alt.badge.img+9
  • Author
  • Contributor
  • September 30, 2024

I placed “/rest/info”  after “...portal” in the connection URL but got the error message “Could not access...”

I chose to use a web connection because i have other web connections with AGOL (that work). I wanted to keep all my connections in one place.


todd_davis
Influencer
Forum|alt.badge.img+22
  • Influencer
  • September 30, 2024

Try https://URL/portal/sharing/rest/info then. This is to get the token generation location url for use in a token service webconnection.

 

The choice of a webconnection is the best. It just a query around what looks like a webconnection using token service rather than an Oauth2 connection. The standard ArcGIS Online connection in FME uses Oauth2 where you get to authorise in a pop-up window, but the current connection setting you have above in storing the username/password and therefore, looks like a token service. The Oauth2 connection is a bit harder to setup the first time but it is documented:

https://support.safe.com/hc/en-us/articles/25407772142733-How-to-Create-an-ArcGIS-Enterprise-Portal-Web-Connection-OAuth-2-0


nea
Contributor
Forum|alt.badge.img+9
  • Author
  • Contributor
  • September 30, 2024

BTW, thanks for your help.

Got some successful returns:

Owning System URL and Token Service URL available. What do I do with the Token Service URL?


nea
Contributor
Forum|alt.badge.img+9
  • Author
  • Contributor
  • September 30, 2024

IT WORKED!!!  Placed the URL into the Token URL and the connection was made.

Thanks for all your help.

you will get the credit.

Thanks again.


todd_davis
Influencer
Forum|alt.badge.img+22
  • Influencer
  • Best Answer
  • September 30, 2024

You could try that token url in the “token url” parameter in the web connection you showed. Not sure it will work because I don’t know how that web service is setup, but worth a shot.


nielsgerrits
VIP
Forum|alt.badge.img+54

Can you share the configuration of the webservice for others to replicate?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings