Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

sWfsInput / error 401 #28

Closed
fxprunayre opened this issue Apr 30, 2013 · 0 comments
Closed

sWfsInput / error 401 #28

fxprunayre opened this issue Apr 30, 2013 · 0 comments
Assignees
Labels
Milestone

Comments

@fxprunayre
Copy link
Member

getting a 401 message returned from the WFS server when using the sWFSInput in SDI 5.2.1 (TOS 5.2.2) where I used to get a valid response in 4.2.0. Is this related to basic authentication support recently added?

Details entered into wfsInput are as follows:

WFS Server Url: "http://www.cmar.csiro.au/geoserver/wfs"
WFS Server Version: 1.0.0
Type Name: "imos:AUSCPR_PCI"

I get :

Exception in component sWfsInput_1_GI
java.io.IOException: Server returned HTTP response code: 401 for URL: http://www.cmar.csiro.au/geoserver/wfs?VERSION=1.0.0&SERVICE=WFS&REQUEST=GetCapabilities
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1403)
    at org.geotools.data.wfs.protocol.http.SimpleHttpProtocol$SimpleHttpResponse.getResponseStream(SimpleHttpProtocol.java:70)
    at org.geotools.data.wfs.WFSDataStoreFactory.loadCapabilities(WFSDataStoreFactory.java:779)
    at org.geotools.data.wfs.WFSDataStoreFactory.createDataStore(WFSDataStoreFactory.java:412)
    at cpr_harvest.pci_harvest_0_1.pci_harvest.sWfsInput_1_GIProcess(pci_harvest.java:1518)
    at cpr_harvest.pci_harvest_0_1.pci_harvest.runJobInTOS(pci_harvest.java:2350)
    at cpr_harvest.pci_harvest_0_1.pci_harvest.main(pci_harvest.java:2182)
fxprunayre pushed a commit that referenced this issue Apr 30, 2013
@ghost ghost assigned fxprunayre Apr 30, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant