opensensorhub / osh-core

OpenSensorHub Core Modules
http://docs.opensensorhub.org
Mozilla Public License 2.0
32 stars 16 forks source link

Could not start SOS-T Client. Error while registering sensor with remote SOS with the pre-built demo android application #116

Closed RohitMadhu closed 5 years ago

RohitMadhu commented 5 years ago

Here is the error in logcat:

01-11 11:44:39.069 13146-15188/org.sensorhub.android E/o.s.i.c.s.SOSTCli: Could not start SOS-T Client org.sensorhub.api.client.ClientException: Error while registering sensor with remote SOS at org.sensorhub.impl.client.sost.SOSTClient.start(SOSTClient.java:244) at org.sensorhub.impl.client.sost.SOSTClient.handleEvent(SOSTClient.java:413) at org.sensorhub.impl.common.AsyncEventHandler$ListenerQueue$1.run(AsyncEventHandler.java:81) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818) Caused by: org.vast.ows.OWSException: Exception received from server at org.vast.ows.OWSUtils.sendPostRequest(OWSUtils.java:727) at org.vast.ows.OWSUtils.sendRequest(OWSUtils.java:616) at org.sensorhub.impl.client.sost.SOSTClient.registerSensor(SOSTClient.java:334) at org.sensorhub.impl.client.sost.SOSTClient.start(SOSTClient.java:239) at org.sensorhub.impl.client.sost.SOSTClient.handleEvent(SOSTClient.java:413)  at org.sensorhub.impl.common.AsyncEventHandler$ListenerQueue$1.run(AsyncEventHandler.java:81)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)  at java.lang.Thread.run(Thread.java:818)  Caused by: org.vast.ogc.OGCException: Invalid Exception at org.vast.ogc.OGCExceptionReader.parseException(OGCExceptionReader.java:81) at org.vast.ows.OWSUtils.sendPostRequest(OWSUtils.java:721) at org.vast.ows.OWSUtils.sendRequest(OWSUtils.java:616)  at org.sensorhub.impl.client.sost.SOSTClient.registerSensor(SOSTClient.java:334)  at org.sensorhub.impl.client.sost.SOSTClient.start(SOSTClient.java:239)  at org.sensorhub.impl.client.sost.SOSTClient.handleEvent(SOSTClient.java:413)  at org.sensorhub.impl.common.AsyncEventHandler$ListenerQueue$1.run(AsyncEventHandler.java:81)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)  at java.lang.Thread.run(Thread.java:818)  Caused by: org.vast.xml.DOMHelperException: Error while reading XML document at org.vast.xml.XMLDocument.parseDOM(XMLDocument.java:251) at org.vast.xml.XMLDocument.(XMLDocument.java:113) at org.vast.xml.DOMHelper.parseStream(DOMHelper.java:1080) at org.vast.xml.DOMHelper.(DOMHelper.java:129) at org.vast.xml.DOMHelper.(DOMHelper.java:115) at org.vast.ogc.OGCExceptionReader.parseException(OGCExceptionReader.java:76) at org.vast.ows.OWSUtils.sendPostRequest(OWSUtils.java:721)  at org.vast.ows.OWSUtils.sendRequest(OWSUtils.java:616)  at org.sensorhub.impl.client.sost.SOSTClient.registerSensor(SOSTClient.java:334)  at org.sensorhub.impl.client.sost.SOSTClient.start(SOSTClient.java:239)  at org.sensorhub.impl.client.sost.SOSTClient.handleEvent(SOSTClient.java:413)  at org.sensorhub.impl.common.AsyncEventHandler$ListenerQueue$1.run(AsyncEventHandler.java:81)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)  at java.lang.Thread.run(Thread.java:818)  Caused by: org.xml.sax.SAXParseException: expected: /hr read: body (position:END_TAG @10:8 in java.io.InputStreamReader@afa1d6f) at org.apache.harmony.xml.parsers.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:146) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:107) at org.vast.xml.XMLDocument.parseDOM_JAXP(XMLDocument.java:361) at org.vast.xml.XMLDocument.parseDOM(XMLDocument.java:247) at org.vast.xml.XMLDocument.(XMLDocument.java:113)  at org.vast.xml.DOMHelper.parseStream(DOMHelper.java:1080)  at org.vast.xml.DOMHelper.(DOMHelper.java:129)  at org.vast.xml.DOMHelper.(DOMHelper.java:115)  at org.vast.ogc.OGCExceptionReader.parseException(OGCExceptionReader.java:76)  at org.vast.ows.OWSUtils.sendPostRequest(OWSUtils.java:721)  at org.vast.ows.OWSUtils.sendRequest(OWSUtils.java:616)  at org.sensorhub.impl.client.sost.SOSTClient.registerSensor(SOSTClient.java:334)  at org.sensorhub.impl.client.sost.SOSTClient.start(SOSTClient.java:239)  at org.sensorhub.impl.client.sost.SOSTClient.handleEvent(SOSTClient.java:413)  at org.sensorhub.impl.common.AsyncEventHandler$ListenerQueue$1.run(AsyncEventHandler.java:81)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)  at java.lang.Thread.run(Thread.java:818) 

alexrobin commented 5 years ago

What URL are you using in the settings of the Android app?

On Fri, Jan 11, 2019, 17:49 RohitMadhu <notifications@github.com wrote:

Here is the error in logcat:

01-11 11:44:39.069 13146-15188/org.sensorhub.android E/o.s.i.c.s.SOSTCli: Could not start SOS-T Client org.sensorhub.api.client.ClientException: Error while registering sensor with remote SOS at org.sensorhub.impl.client.sost.SOSTClient.start(SOSTClient.java:244) at org.sensorhub.impl.client.sost.SOSTClient.handleEvent(SOSTClient.java:413) at org.sensorhub.impl.common.AsyncEventHandler$ListenerQueue$1.run(AsyncEventHandler.java:81) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818) Caused by: org.vast.ows.OWSException: Exception received from server at org.vast.ows.OWSUtils.sendPostRequest(OWSUtils.java:727) at org.vast.ows.OWSUtils.sendRequest(OWSUtils.java:616) at org.sensorhub.impl.client.sost.SOSTClient.registerSensor(SOSTClient.java:334) at org.sensorhub.impl.client.sost.SOSTClient.start(SOSTClient.java:239) at org.sensorhub.impl.client.sost.SOSTClient.handleEvent(SOSTClient.java:413) at org.sensorhub.impl.common.AsyncEventHandler$ListenerQueue$1.run(AsyncEventHandler.java:81) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818) Caused by: org.vast.ogc.OGCException: Invalid Exception at org.vast.ogc.OGCExceptionReader.parseException(OGCExceptionReader.java:81) at org.vast.ows.OWSUtils.sendPostRequest(OWSUtils.java:721) at org.vast.ows.OWSUtils.sendRequest(OWSUtils.java:616) at org.sensorhub.impl.client.sost.SOSTClient.registerSensor(SOSTClient.java:334) at org.sensorhub.impl.client.sost.SOSTClient.start(SOSTClient.java:239) at org.sensorhub.impl.client.sost.SOSTClient.handleEvent(SOSTClient.java:413) at org.sensorhub.impl.common.AsyncEventHandler$ListenerQueue$1.run(AsyncEventHandler.java:81) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818) Caused by: org.vast.xml.DOMHelperException: Error while reading XML document at org.vast.xml.XMLDocument.parseDOM(XMLDocument.java:251) at org.vast.xml.XMLDocument.(XMLDocument.java:113) at org.vast.xml.DOMHelper.parseStream(DOMHelper.java:1080) at org.vast.xml.DOMHelper.(DOMHelper.java:129) at org.vast.xml.DOMHelper.(DOMHelper.java:115) at org.vast.ogc.OGCExceptionReader.parseException(OGCExceptionReader.java:76) at org.vast.ows.OWSUtils.sendPostRequest(OWSUtils.java:721) at org.vast.ows.OWSUtils.sendRequest(OWSUtils.java:616) at org.sensorhub.impl.client.sost.SOSTClient.registerSensor(SOSTClient.java:334) at org.sensorhub.impl.client.sost.SOSTClient.start(SOSTClient.java:239) at org.sensorhub.impl.client.sost.SOSTClient.handleEvent(SOSTClient.java:413) at org.sensorhub.impl.common.AsyncEventHandler$ListenerQueue$1.run(AsyncEventHandler.java:81) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818) Caused by: org.xml.sax.SAXParseException: expected: /hr read: body (position:END_TAG @10 https://github.com/10:8 in java.io.InputStreamReader@afa1d6f) at org.apache.harmony.xml.parsers.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:146) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:107) at org.vast.xml.XMLDocument.parseDOM_JAXP(XMLDocument.java:361) at org.vast.xml.XMLDocument.parseDOM(XMLDocument.java:247) at org.vast.xml.XMLDocument.(XMLDocument.java:113) at org.vast.xml.DOMHelper.parseStream(DOMHelper.java:1080) at org.vast.xml.DOMHelper.(DOMHelper.java:129) at org.vast.xml.DOMHelper.(DOMHelper.java:115) at org.vast.ogc.OGCExceptionReader.parseException(OGCExceptionReader.java:76) at org.vast.ows.OWSUtils.sendPostRequest(OWSUtils.java:721) at org.vast.ows.OWSUtils.sendRequest(OWSUtils.java:616) at org.sensorhub.impl.client.sost.SOSTClient.registerSensor(SOSTClient.java:334) at org.sensorhub.impl.client.sost.SOSTClient.start(SOSTClient.java:239) at org.sensorhub.impl.client.sost.SOSTClient.handleEvent(SOSTClient.java:413) at org.sensorhub.impl.common.AsyncEventHandler$ListenerQueue$1.run(AsyncEventHandler.java:81) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/opensensorhub/osh-core/issues/116, or mute the thread https://github.com/notifications/unsubscribe-auth/AJAy4oqBruee2otSZSce1czxRrbrgTsEks5vCMCWgaJpZM4Z70Br .

RohitMadhu commented 5 years ago

I am using the server ip address with the /sensorhub/sos endpoint

alexrobin commented 5 years ago

Are you specifying the correct port as well? I believe it is set to 8181 in the default config.

It looks like the client is getting back an HTML error page instead of the XML response expected from server. Can you access the SOS capabilities page at http://ip:port/sensorhub/sos?service=SOS&request=GetCapabilities

RohitMadhu commented 5 years ago

Hi Alex,

I am specifying the 8181 port. When I go to the page I get the 404 error:

HTTP ERROR 404 Problem accessing /sensor/sos. Reason:

Not Found

alexrobin commented 5 years ago

Sorry I made a mistake in my previous answer. With the default configuration, it should be /sensorhub/sos, not /sensor/sos Which one are you trying to access?

RohitMadhu commented 5 years ago

I tried the /sensorhub/sos one and this is what I am getting now.

<sos:Capabilities xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:sos="http://www.opengis.net/sos/2.0" xmlns:swes="http://www.opengis.net/swes/2.0" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0.0">
<ows:ServiceIdentification>
<ows:Title>Test SOS Service</ows:Title>
<ows:Abstract>
An SOS service automatically deployed by OpenSensorHub
</ows:Abstract>
<ows:ServiceType>OGC:SOS</ows:ServiceType>
<ows:ServiceTypeVersion>2.0.0</ows:ServiceTypeVersion>
<ows:Profile>
http://www.opengis.net/spec/SOS/2.0/conf/resultRetrieval
</ows:Profile>
<ows:Profile>
http://www.opengis.net/spec/OMXML/2.0/conf/observation
</ows:Profile>
<ows:Profile>
http://www.opengis.net/spec/SOS/2.0/conf/sensorInsertion
</ows:Profile>
<ows:Profile>
http://www.opengis.net/spec/SOS/2.0/conf/sensorDeletion
</ows:Profile>
<ows:Profile>
http://www.opengis.net/spec/SOS/2.0/conf/obsInsertion
</ows:Profile>
<ows:Profile>
http://www.opengis.net/spec/SOS/2.0/conf/resultInsertion
</ows:Profile>
<ows:Fees>NONE</ows:Fees>
<ows:AccessConstraints>NONE</ows:AccessConstraints>
</ows:ServiceIdentification>
<ows:ServiceProvider>
<ows:ProviderName>Bobby Jones Inc.</ows:ProviderName>
<ows:ServiceContact>
<ows:IndividualName>Bobby Jones</ows:IndividualName>
<ows:PositionName>CEO</ows:PositionName>
<ows:ContactInfo>
<ows:Phone>
<ows:Voice>+1 800 123 4567</ows:Voice>
<ows:Facsimile>+1 800 123 4568</ows:Facsimile>
</ows:Phone>
<ows:Address>
<ows:DeliveryPoint>1 Main Street</ows:DeliveryPoint>
<ows:City>Portland</ows:City>
<ows:AdministrativeArea>OR</ows:AdministrativeArea>
<ows:PostalCode>97209</ows:PostalCode>
<ows:Country>France</ows:Country>
<ows:ElectronicMailAddress>admin@bobby.com</ows:ElectronicMailAddress>
</ows:Address>
</ows:ContactInfo>
</ows:ServiceContact>
</ows:ServiceProvider>
<ows:OperationsMetadata>
<ows:Operation name="GetCapabilities">
<ows:DCP>
<ows:HTTP>
<ows:Get xlink:href="http://localhost:8181/sensorhub/sos"/>
<ows:Post xlink:href="http://localhost:8181/sensorhub/sos"/>
</ows:HTTP>
</ows:DCP>
</ows:Operation>
<ows:Operation name="DescribeSensor">
<ows:DCP>
<ows:HTTP>
<ows:Get xlink:href="http://localhost:8181/sensorhub/sos"/>
<ows:Post xlink:href="http://localhost:8181/sensorhub/sos"/>
</ows:HTTP>
</ows:DCP>
</ows:Operation>
<ows:Operation name="GetFeatureOfInterest">
<ows:DCP>
<ows:HTTP>
<ows:Get xlink:href="http://localhost:8181/sensorhub/sos"/>
<ows:Post xlink:href="http://localhost:8181/sensorhub/sos"/>
</ows:HTTP>
</ows:DCP>
</ows:Operation>
<ows:Operation name="GetObservation">
<ows:DCP>
<ows:HTTP>
<ows:Get xlink:href="http://localhost:8181/sensorhub/sos"/>
<ows:Post xlink:href="http://localhost:8181/sensorhub/sos"/>
</ows:HTTP>
</ows:DCP>
</ows:Operation>
<ows:Operation name="GetResult">
<ows:DCP>
<ows:HTTP>
<ows:Get xlink:href="http://localhost:8181/sensorhub/sos"/>
<ows:Post xlink:href="http://localhost:8181/sensorhub/sos"/>
</ows:HTTP>
</ows:DCP>
</ows:Operation>
<ows:Operation name="GetResultTemplate">
<ows:DCP>
<ows:HTTP>
<ows:Get xlink:href="http://localhost:8181/sensorhub/sos"/>
<ows:Post xlink:href="http://localhost:8181/sensorhub/sos"/>
</ows:HTTP>
</ows:DCP>
</ows:Operation>
<ows:Operation name="InsertResult">
<ows:DCP>
<ows:HTTP>
<ows:Get xlink:href="http://localhost:8181/sensorhub/sos"/>
<ows:Post xlink:href="http://localhost:8181/sensorhub/sos"/>
</ows:HTTP>
</ows:DCP>
</ows:Operation>
<ows:Operation name="InsertSensor">
<ows:DCP>
<ows:HTTP>
<ows:Post xlink:href="http://localhost:8181/sensorhub/sos"/>
</ows:HTTP>
</ows:DCP>
</ows:Operation>
<ows:Operation name="DeleteSensor">
<ows:DCP>
<ows:HTTP>
<ows:Post xlink:href="http://localhost:8181/sensorhub/sos"/>
</ows:HTTP>
</ows:DCP>
</ows:Operation>
<ows:Operation name="InsertObservation">
<ows:DCP>
<ows:HTTP>
<ows:Post xlink:href="http://localhost:8181/sensorhub/sos"/>
</ows:HTTP>
</ows:DCP>
</ows:Operation>
<ows:Operation name="InsertResultTemplate">
<ows:DCP>
<ows:HTTP>
<ows:Post xlink:href="http://localhost:8181/sensorhub/sos"/>
</ows:HTTP>
</ows:DCP>
</ows:Operation>
</ows:OperationsMetadata>
<sos:extension>
<sos:InsertionCapabilities>
<sos:procedureDescriptionFormat>http://www.opengis.net/sensorml/2.0</sos:procedureDescriptionFormat>
<sos:featureOfInterestType>
http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingPoint
</sos:featureOfInterestType>
<sos:observationType>
http://www.opengis.net/def/observationType/OGC-OM/2.0/SWEScalarObservation
</sos:observationType>
<sos:observationType>
http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_ComplexObservation
</sos:observationType>
<sos:observationType>
http://www.opengis.net/def/observationType/OGC-OM/2.0/SWEArrayObservation
</sos:observationType>
<sos:supportedEncoding>http://www.opengis.net/swe/2.0/TextEncoding</sos:supportedEncoding>
<sos:supportedEncoding>http://www.opengis.net/swe/2.0/BinaryEncoding</sos:supportedEncoding>
</sos:InsertionCapabilities>
</sos:extension>
<sos:filterCapabilities>
<fes:Filter_Capabilities xmlns:fes="http://www.opengis.net/fes/2.0">
<fes:Conformance>
<fes:Constraint name="ImplementsQuery">
<ows:NoValues/>
<ows:DefaultValue>true</ows:DefaultValue>
</fes:Constraint>
<fes:Constraint name="ImplementsAdHocQuery">
<ows:NoValues/>
<ows:DefaultValue>false</ows:DefaultValue>
</fes:Constraint>
<fes:Constraint name="ImplementsFunctions">
<ows:NoValues/>
<ows:DefaultValue>false</ows:DefaultValue>
</fes:Constraint>
<fes:Constraint name="ImplementsResourceld">
<ows:NoValues/>
<ows:DefaultValue>false</ows:DefaultValue>
</fes:Constraint>
<fes:Constraint name="ImplementsMinStandardFilter">
<ows:NoValues/>
<ows:DefaultValue>false</ows:DefaultValue>
</fes:Constraint>
<fes:Constraint name="ImplementsStandardFilter">
<ows:NoValues/>
<ows:DefaultValue>false</ows:DefaultValue>
</fes:Constraint>
<fes:Constraint name="ImplementsMinSpatialFilter">
<ows:NoValues/>
<ows:DefaultValue>true</ows:DefaultValue>
</fes:Constraint>
<fes:Constraint name="ImplementsSpatialFilter">
<ows:NoValues/>
<ows:DefaultValue>false</ows:DefaultValue>
</fes:Constraint>
<fes:Constraint name="ImplementsMinTemporalFilter">
<ows:NoValues/>
<ows:DefaultValue>true</ows:DefaultValue>
</fes:Constraint>
<fes:Constraint name="ImplementsTemporalFilter">
<ows:NoValues/>
<ows:DefaultValue>false</ows:DefaultValue>
</fes:Constraint>
<fes:Constraint name="ImplementsVersionNav">
<ows:NoValues/>
<ows:DefaultValue>false</ows:DefaultValue>
</fes:Constraint>
<fes:Constraint name="ImplementsSorting">
<ows:NoValues/>
<ows:DefaultValue>false</ows:DefaultValue>
</fes:Constraint>
<fes:Constraint name="ImplementsExtendedOperators">
<ows:NoValues/>
<ows:DefaultValue>false</ows:DefaultValue>
</fes:Constraint>
<fes:Constraint name="ImplementsMinimumXPath">
<ows:NoValues/>
<ows:DefaultValue>false</ows:DefaultValue>
</fes:Constraint>
<fes:Constraint name="ImplementsSchemaElementFunc">
<ows:NoValues/>
<ows:DefaultValue>false</ows:DefaultValue>
</fes:Constraint>
</fes:Conformance>
<fes:Spatial_Capabilities>
<fes:GeometryOperands>
<fes:GeometryOperand name="gml:Envelope"/>
</fes:GeometryOperands>
<fes:SpatialOperators>
<fes:SpatialOperator name="BBOX"/>
</fes:SpatialOperators>
</fes:Spatial_Capabilities>
<fes:Temporal_Capabilities>
<fes:TemporalOperands>
<fes:TemporalOperand name="gml:TimeInstant"/>
<fes:TemporalOperand name="gml:TimePeriod"/>
</fes:TemporalOperands>
<fes:TemporalOperators>
<fes:TemporalOperator name="During"/>
</fes:TemporalOperators>
</fes:Temporal_Capabilities>
</fes:Filter_Capabilities>
</sos:filterCapabilities>
<sos:contents>
<sos:Contents>
<swes:procedureDescriptionFormat>http://www.opengis.net/sensorml/2.0</swes:procedureDescriptionFormat>
<swes:procedureDescriptionFormat>http://www.opengis.net/sensorml-json/2.0</swes:procedureDescriptionFormat>
<swes:offering>
<sos:ObservationOffering>
<swes:description>Fake GPS sensor</swes:description>
<swes:identifier>urn:mysos:offering02</swes:identifier>
<swes:name>Fake GPS</swes:name>
<swes:procedure>urn:osh:sensor:simgps:d136b6ea</swes:procedure>
<swes:observableProperty>
http://www.opengis.net/def/property/OGC/0/SensorLocation
</swes:observableProperty>
<sos:phenomenonTime>
<gml:TimePeriod gml:id="T1">
<gml:beginPosition indeterminatePosition="unknown"/>
<gml:endPosition indeterminatePosition="unknown"/>
</gml:TimePeriod>
</sos:phenomenonTime>
</sos:ObservationOffering>
</swes:offering>
<swes:offering>
<sos:ObservationOffering>
<swes:description>Fake Weather sensor</swes:description>
<swes:identifier>urn:mysos:offering03</swes:identifier>
<swes:name>Fake Weather</swes:name>
<swes:procedure>urn:osh:sensor:simweather:0123456879</swes:procedure>
<swes:observableProperty>
http://www.opengis.net/def/property/OGC/0/SensorLocation
</swes:observableProperty>
<swes:observableProperty>http://sensorml.com/ont/swe/property/Weather</swes:observableProperty>
<swes:observableProperty>
http://sensorml.com/ont/swe/property/AirTemperature
</swes:observableProperty>
<swes:observableProperty>
http://sensorml.com/ont/swe/property/AtmosphericPressure
</swes:observableProperty>
<swes:observableProperty>http://sensorml.com/ont/swe/property/WindSpeed</swes:observableProperty>
<swes:observableProperty>http://sensorml.com/ont/swe/property/WindDirection</swes:observableProperty>
<swes:relatedFeature>
<swes:FeatureRelationship>
<swes:target xlink:href="urn:osh:sensor:simweather:0123456879-foi"/>
</swes:FeatureRelationship>
</swes:relatedFeature>
<sos:observedArea>
<gml:Envelope srsDimension="2">
<gml:lowerCorner>34.8038 -86.7228</gml:lowerCorner>
<gml:upperCorner>34.8038 -86.7228</gml:upperCorner>
</gml:Envelope>
</sos:observedArea>
<sos:phenomenonTime>
<gml:TimePeriod gml:id="T2">
<gml:beginPosition>2019-01-03T19:07:32.380Z</gml:beginPosition>
<gml:endPosition indeterminatePosition="now"/>
</gml:TimePeriod>
</sos:phenomenonTime>
</sos:ObservationOffering>
</swes:offering>
<sos:responseFormat>http://www.opengis.net/om/2.0</sos:responseFormat>
<sos:responseFormat>http://www.opengis.net/om-json/2.0</sos:responseFormat>
<sos:observationType>
http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_Observation
</sos:observationType>
<sos:observationType>
http://www.opengis.net/def/observationType/OGC-OM/2.0/SWEScalarObservation
</sos:observationType>
<sos:observationType>
http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_ComplexObservation
</sos:observationType>
</sos:Contents>
</sos:contents>
</sos:Capabilities>
RohitMadhu commented 5 years ago

I finally figured out what was the issue, it seems to be note working though the corporate network, perhaps some sort of firewall. I just want to thank you for helping answer my questions, I really appreciate it!