I'm attempting to use the WFS reader to retrieve a capabilities document using HTTP Basic authentication. However, I suspect that FME isn't sending the Authentication header unless it's challenged with a 401 response from the server, which is a problem because the server I'm connecting to returns 200 response containing public layers for unauthenticated users and hence no challenge.
Are my suspicions are correct? Is there a way to force FME to send the Authentication header without waiting to be challenged with a 401 response?
Things I've tried:
- Checked "Use Network Authentication", selected "Basic" authentication, and added a username and password. No private layers appear under "Feature Types".
- Manually typed the name of a private layer into "Feature Types". FME says that the layer was not found in the capabilities document.
- Added the username and password to the URL, e.g. https://username:password@server/wfs.