Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"We were unable to create your resource." error upon attempted HydroShare export for some services #15

Open
ndebuhr opened this issue Sep 5, 2018 · 0 comments

Comments

@ndebuhr
Copy link

ndebuhr commented Sep 5, 2018

Example service WebH2O myObservatory Data Publication Service.

Solution may involve only or partially HydroClient application changes.

Insights from Ken:

There are two main issues causing these errors.

The first is that the HydroClient is providing an incorrect SOAP url for all the Community Collaborative Rain, Hail and Snow Network data, which causes the resource creator to be unable to get the WaterML data. The url is mostly correct, but it should end with “?WSDL”. This isn’t hard to fix in the app, but I think it would be best to fix it on the HydroClient so it’s consistent and doesn’t cause problems with other apps. For example, Matthew used a couple different ways of obtaining data for the data series viewer, but I confirmed that these urls will also cause problems for the viewer when opened from HydroShare.

The second issue is related to some of the NWIS data services, and I suspect some of the smaller ones as well that I haven’t tested yet. When the resource creator app is launched from the HydroClient, a form almost identical to the refts files is sent to the resource creator. Some of the NWIS data doesn’t appear to have any methods metadata, so the whole methods section is missing from the form. It’s ok for this data to be empty, but even if it is, the form should still include the methods section and specify each value for this metadata, even if it is null. This is something I can probably update the app to handle, but I think it would be better for the HydroClient to be consistent on this so it doesn’t cause future problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant