International Federation of Digital Seismograph Networks

Thread: FDSN WS Service Checker

None
Started: April 13, 2017, 5:19 p.m.
Last activity: April 13, 2017, 5:19 p.m.
Philip Crotwell
April 13, 2017, 5:19 p.m.
Hi

As part of some work I have been doing recently with browser access to
FDSN web services, I have put together a handful of "sanity checks"
for FDSN web service servers. These use javascript running in the
browser and I thought that they might be of interest to others.
Currently the tests are fairly basic, and I will probably add more
over time.

http://www.seis.sc.edu/fdsnServiceCheck/serviceCheck.html

One problem I have encountered is that quite a few of the existing
FDSN web services do not have the CORS headers set properly to allow
this type of in browser access from web pages that originate from a
different server. I feel this kind of access probably should be
allowed and would like to encourage making this work as it is a really
powerful way to leverage the existing web services to create dynamic
web pages. If your favorite FDSN web service doesn't get past the
first test, then probably this is the issue. More on this can be found
here:

https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
https://en.wikipedia.org/wiki/Cross-origin_resource_sharing
https://www.w3.org/TR/cors/

Hopefully this is of use.

Comments welcome,
Philip