There is no support for SOS GetCapabilities POST, only GET. Best regards, Bart
-- Bart van den Eijnden OpenGeo - http://opengeo.org Expert service straight from the developers. On Jun 10, 2013, at 5:15 PM, dkar <[email protected]> wrote: > > Hi, > > I am trying to understand how to send a GetCapabilities post request to a > SOS service. > Based on examples that I found online, I tried something like this: > > OpenLayers.SOSClient = OpenLayers.Class({ > url: 'http://cawa.gfz-potsdam.de:8080/SOS/sos', > map: null, > capsformat: new OpenLayers.Format.SOSCapabilities(), > obsformat: new OpenLayers.Format.SOSGetObservation(), > initialize: function (options) { > OpenLayers.Util.extend(this, options); > var params = {'service': 'SOS', 'request': > 'GetCapabilities'}; > var paramString = > OpenLayers.Util.getParameterString(params); > url = OpenLayers.Util.urlAppend(this.url, paramString); > OpenLayers.Request.GET({url: url, > success: alert(url);}); > },... > > But it doesn't work. Is there another way to do it? For example, to send the > request in XML format instead of a url? Any advice would be helpful. > > Thanks a lot. > D. > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/How-to-send-a-GetCapabilities-request-to-a-SOS-service-tp5059145.html > Sent from the OpenLayers Users mailing list archive at Nabble.com. > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
