I have made a SOS Client and when I connect to SOS java server and I send a
GetObservation POST request the server give me a exception (see it in attached
file)
It's wrong because the response format of a GetObservation request is om/1.0.0
no sensorML/1.0.1(it's for a DescribeSensor request)
Could you give me any solution?
Thanks
This is the GetObservation request (not work with any GetObservation request):
<?xml version="1.0" encoding="UTF-8"?>
<sos:GetObservation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gml="http://www.opengis.net/gml"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:sos="http://www.opengis.net/sos/1.0"
xmlns:om="http://www.opengis.net/om/1.0"
xmlns:ows="http://www.opengis.net/ows/1.1"
xsi:schemaLocation="http://www.opengis.net/sos/1.0 http://schemas.opengis.net/sos/1.0.0/sosAll.xsd"
service="SOS" version="1.0.0" srsName="urn:ogc:def:crs:EPSG:6.5:4326">
<sos:offering>observationOffering_1455</sos:offering>
<sos:eventTime>
<ogc:TM_During>
<ogc:PropertyName>om:samplingTime</ogc:PropertyName>
<gml:TimePeriod>
<gml:beginPosition>2009-06-10T18:28:41Z</gml:beginPosition>
<gml:endPosition>2009-06-11T10:58:40Z</gml:endPosition>
</gml:TimePeriod>
</ogc:TM_During>
</sos:eventTime>
<sos:observedProperty>http://mmisw.org/ont/cf/parameter/sea_water_temperature</s
os:observedProperty>
<sos:observedProperty>http://mmisw.org/ont/cf/parameter/conductivity</sos:observ
edProperty>
<sos:observedProperty>http://mmisw.org/ont/cf/parameter/sea_water_salinity</sos:
observedProperty>
<sos:featureOfInterest>
<ogc:BBOX>
<ogc:PropertyName>urn:ogc:data:location</ogc:PropertyName>
<gml:Envelope srsName="urn:ogc:def:crs:EPSG:4326" >
<gml:lowerCorner>36.69623 -122.39965</gml:lowerCorner>
<gml:upperCorner>36.69623 -122.39965</gml:upperCorner>
</gml:Envelope>
</ogc:BBOX>
</sos:featureOfInterest>
<sos:responseFormat>text/xml;subtype="om/1.0.0"</sos:responseFormat>
<sos:resultModel>om:Observation</sos:resultModel>
</sos:GetObservation>
Original issue reported on code.google.com by Pablo.Vi...@gmail.com on 18 Nov 2010 at 10:05
Original issue reported on code.google.com by
Pablo.Vi...@gmail.com
on 18 Nov 2010 at 10:05Attachments: