<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">There is no support for SOS GetCapabilities POST, only GET.<div><br></div><div>Best regards,</div><div>Bart</div><div><br><div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>-- <br>Bart van den Eijnden<br>OpenGeo - <a href="http://opengeo.org/">http://opengeo.org</a><br>Expert service straight from the developers.</div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On Jun 10, 2013, at 5:15 PM, dkar <<a href="mailto:dimitriskarakostis3@hotmail.com">dimitriskarakostis3@hotmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br>Hi, <br><br>I am trying to understand how to send a GetCapabilities post request to a<br>SOS service.<br>Based on examples that I found online, I tried something like this:<br><br>OpenLayers.SOSClient = OpenLayers.Class({<br> url: '<a href="http://cawa.gfz-potsdam.de:8080/SOS/sos'">http://cawa.gfz-potsdam.de:8080/SOS/sos'</a>,<br> map: null,<br> capsformat: new OpenLayers.Format.SOSCapabilities(),<br> obsformat: new OpenLayers.Format.SOSGetObservation(),<br> initialize: function (options) {<br> OpenLayers.Util.extend(this, options);<br> var params = {'service': 'SOS', 'request':<br>'GetCapabilities'};<br> var paramString =<br>OpenLayers.Util.getParameterString(params);<br> url = OpenLayers.Util.urlAppend(this.url, paramString);<br> OpenLayers.Request.GET({url: url,<br> success: alert(url);});<br> },...<br><br>But it doesn't work. Is there another way to do it? For example, to send the<br>request in XML format instead of a url? Any advice would be helpful.<br><br>Thanks a lot.<br>D.<br><br><br><br>--<br>View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/How-to-send-a-GetCapabilities-request-to-a-SOS-service-tp5059145.html">http://osgeo-org.1560.x6.nabble.com/How-to-send-a-GetCapabilities-request-to-a-SOS-service-tp5059145.html</a><br>Sent from the OpenLayers Users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/openlayers-users<br></blockquote></div><br></div></div></body></html>