Skip to main content
Question

WFS reader behind a proxy

  • February 3, 2014
  • 3 replies
  • 28 views

To read WFS from a token based secured ArcGis Server we would like to access behind a proxy with http basic authentication to the WFS.

 

I would like to fill the URL like this:

 

https://fmeserver.local.com/MapServer/WFSServer/" target="_blank">https://example.com/proxy.ashx?https://fmeserver.local.com/MapServer/WFSServer/

 

 

When we RUN the translation FME cuts all behind the question mark "?"

 

--> https://example.com/proxy.ashx   (Removed: ?https://fmeserver.local.com/MapServer/WFSServer/)

 

 

How can we avoid this?

 

Is there an "escape" character to avoid this?

 

 

Or another solution?

3 replies

david_r
Celebrity
  • February 3, 2014
Hi,

 

 

I'm guessing that the WFS reader has a hard time separating the parameters to the proxy (the outbound URL, in this case) and the necessary parameters that it has to juggle for the WFS features. I would say this is almost to be expected.

 

 

If possible, try to reconfigure your proxy so that you have a specific URL that redirectes, e.g.

 

 

https://example.com/WFSServerProxy.ashx?....

 

 

routes to 

 

 

https://fmeserver.local.com/MapServer/WFSServer?...

 

 

leaving all the parameters unchanged.

 

 

The clue here is to avoid passing the outbound URL as a parameter to your proxy, but rather let the proxy rewrite the URL based on a configuration rule.

 

 

Hope this makes sense :-)

 

 

David

  • Author
  • February 4, 2014
Dear David

 

Thank you for the replay.

 

That would be a solution to reconfigure the proxy. But it is a general proxy for different services, it would be nice not to change this setting. 

 

 

What I suppose is that the reader just attach the parameters after the url?

 

 

On the other hand, is there a direct way to communicate with a secure token WFS from an ArcGIS Server without proxy? Is it possible to use this with a reader from FME?

 

Cheers

 

Sascha

 

 

 

 


amarsden
Participant
Forum|alt.badge.img+1
  • Participant
  • September 20, 2018
Hi

 

Has anyone managed to resolve this since the original post?

 

Cheers

 

ACM

 

 

 


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