-
Notifications
You must be signed in to change notification settings - Fork 30
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
DescribeSensor: InvalidParameterValue for outputFormat #23
Comments
This POST request however seems to work:
|
Not sure about the standards requirements here (didn't check), but URL-encoding the value of |
I agree, but I think to remember we had to modify to pass cite test..
Need to check though...
Il 06 set 2017 10:39 AM, "Daniel Nüst" <[email protected]> ha
scritto:
… Not sure about the standards requirements here (didn't check), but
URL-encoding the value of outputFormat does not help either (I'm pretty
sure the latter one is how it is supposed to be):
http://istsos.org/istsos/demo?request=DescribeSensor&
procedure=GARBOW&service=SOS&version=1.0.0&outputFormat=
text/xml;subtype%3D%22sensorML/1.0.1%22
http://istsos.org/istsos/demo?request=DescribeSensor&
procedure=GARBOW&service=SOS&version=1.0.0&outputFormat=
text/xml;subtype%3D"sensorML/1.0.1
<http://istsos.org/istsos/demo?request=DescribeSensor&procedure=GARBOW&service=SOS&version=1.0.0&outputFormat=text/xml;subtype%3D%22sensorML/1.0.1>
"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#23 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AMWizF5wJ0nVrtd0_UKLlSLuXTkyj3B1ks5sflo5gaJpZM4PD6SO>
.
|
Hi the correct request is this one: It doesn't worked because of the procedure name: GARBOW instead of GRABOW |
Yes, thanks, Milan! However, it seems to be also an issue of how the request is formated. As this: (with correct naming of the procedure) does not work. |
I agree with you about the misleading message, we should change that message. Parameter encoding is mandatory, text/xml;subtype="sensorML/1.0.1" contains some reserved characters (in our case: "/" ";" "="). As you can see in the IETF Standard of Uniform Resource Identifier (URI): Generic Syntax. That's why we have to send: text%2Fxml%3Bsubtype%3D"sensorML%2F1.0.1" instead of the more readable representation. PS: the double quotes are not encoded, that's because they are not reserved. |
Thanks Milan for the explanation! |
DescribeSensor request yields in exception:
http://istsos.org/istsos/demo?request=DescribeSensor&procedure=GARBOW&service=SOS&version=1.0.0&outputFormat=text/xml;subtype=%22sensorML/1.0.1%22
See also this possibly related issue in java-core:
istSOS/java-core#3
The text was updated successfully, but these errors were encountered: