SlideShare una empresa de Scribd logo
1 de 24
What is a Web Service
or some relevant web services
    (for) Developing Applications for
      Real-time Environmental Data

                     Bryan Lawrence
       Head, NCAS British Atmospheric Data Centre
                P.I. The NERC DataGrid.
Outline

Question: What is a Web Service?
Answer: Acronym Soup!

Fundamentals (XML+)
   • SOAP and REST
   • WSDL

OGC Web Services
   • WFS, WCS, WFS

UNIDATA
   • LDM

NDG Web Services



           British Atmospheric Data Centre
               http://badc.nerc.ac.uk
What is a web service?
Googling gives:

• Answers.Com: Web-based applications that dynamically interact
  with other Web applications using open standards that include XML,
  UDDI and SOAP.
• (Yuck: UDDI?)
• emergingtech.ittoolbox.com:
   – A Service-Oriented Architecture (SOA) is a collection of services
     or software agents that communicate freely with each other.
   – Sub-topic definition: Web Services protocols and standards are
     the technology that promote the sharing and distribution of
     information and business data. A protocol is a standard method
     for transmitting data through a network. There are many
     different specialized protocols to accommodate the many kinds
     of data that might be transmitted.



                       British Atmospheric Data Centre
                           http://badc.nerc.ac.uk
SOAP
  Simple Object Access Protocol
                                                  Horrible looking XML specification, but
                                                  lots of SOAP pacakges available which
                                                  are (generally easy to use), eg:


                                                  from SOAPpy import SOAPproxy
                                                  url=http://services.xmethods.net:80/soap/
                                                  servlet/rpcrouter’
                                                  n=‘urn:xmethods-Temperature’
                                                  server=SOAPProxy(url,namespace=n)
                                                  temperature=server.getTemp(‘27502’)
                                                  Returns the temperature at U.S. zipcode 27502 (from
                                                  Dive Into Python, Mark Pilgrim)
(One knew a priori that a method named getTEmp would return a float given an argument of a zip
                    code, provided one used the right namespace – How?)

                                British Atmospheric Data Centre
                                    http://badc.nerc.ac.uk
WSDL                :Web Services Description Language


                                     >>>from SOAPpy import WSDL
                                     >>>Server=WDSL.Proxy(‘path/to/WSDL’)
                                     >>>server.method.keys()
                                     [u’doGoogleSearch’,u’doGetCachedPage’ …]
                                     >>>callInfo=server.methods[‘doGoogleSearch’]
                                     >>>for arg in callInfo.inparams:
                                                                                    S
                                     . . . print arg.name, arg.type              IE
                                                                             RT
                                                                         PE
                                          key (u’http://www.w3.org/2001/XMLSchema’,u’string’)
                                     .    . .
                                                                     RO
                                                                 T P for a service, and
                                                             AC parameters).
                                             Define expected messages
                                             their (input orR
                                                          T output
                                                    A BS will group together a number of
                                             An interface
                                             messages (operations)
Bind an Interface via a definition to
a specific transport (e.g. HTTP) and                 The network location where the service is
messaging (e.g. SOAP) protocol                       implemented , e.g. http://localhost:8080

                                British Atmospheric Data Centre
                                    http://badc.nerc.ac.uk
REST’ful Web Services


• REST (representational state transfer) is an
  approach for getting information content
  from a Web site by reading a designated
  (ok, you need a URI) Web page that
  contains an XML (Extensible Markup
  Language) file that describes and includes
  the desired content.
• That’s it! You use HTTP (get,put,…) to a
  URI, with XML as the payload …


               British Atmospheric Data Centre
                   http://badc.nerc.ac.uk
Web Services the confusion:
(Tim Ewald): “Today, I see three camps:

1) It's all about SOAP messages …,
2) It's all about WSDL,
3) It's all about XML/HTTP.

Microsoft is definitely in the first camp, focusing on doing things
    with SOAP whether or not they are ultimately represented
    as XML or a binary data rep.
IBM and Iona are in the second camp, focusing on describing in
    WSDL, whether or not they are ultimately represented as
    SOAP or a binary protocol.
Lots of developers and some big companies like Amazon are in
    the XML/HTTP camp, focusing on getting data from one
    place to another in a way they can consume it.
[Tim Ewald: http://pluralsight.com/blogs/tewald/archive/2004/10/18/2875.aspx]



                                        British Atmospheric Data Centre
                                            http://badc.nerc.ac.uk
Standards

• Dimensions of interoperability for
  earth science data dis
                                            co
                                               very




      ISO / OGC
         access




                                                e
                                             us



                  British Atmospheric Data Centre
                      http://badc.nerc.ac.uk
OGC web services
• Data access services, e.g.:
    –   Live Access Server, NDG DataExtractor
    –   GADS
    –   DODS/OPeNDAP
    –   OGC web services
• OGC web services
    – Web Map Service
    – Web Feature Service
    – Web Coverage Service
[Open Geospatial Consortium (OGC): International consortium of nearly 300
   companies, government agencies and universities participating in a
   consensus process to develop publicly available geoprocessing
   specifications]


                       British Atmospheric Data Centre
                           http://badc.nerc.ac.uk
OGC web services
• Web Map Service (WMS)
• Three operations:                                       eg, GLOBE program WMS server

  – GetCapabilities (required)                            GetCapabilities:
                                                          http://viz.globe.gov/viz-bin/wmt.cgi

  – GetMap (required)                                     ?REQUEST=GetCapabilities&SERVICE=WMS



  – GetFeatureInfo (optional)
• Typically support HTTP GET binding, SOAP
  being considered
• GetCapabilities request
  – <Service> metadata for service as a whole (ISO 19115 compliant)
  – <Capability> metadata describes request bindings, exceptions, and:
  – <Layer>s: title, name, SRS, bounding box, keywords, style; nested
    layers inherit from parent


                        British Atmospheric Data Centre
                            http://badc.nerc.ac.uk
OGC web services
• e.g.: ERA40 re-analysis surface air temperature, 2001-04-27
   – deegree open-source WMS modified with netCDF connector




                       Overlaid with rainfall from
                    globe.digitalearth.govData Centre
                        British Atmospheric
                                            WMS server
                           http://badc.nerc.ac.uk
OGC web services
Web Coverage Service (WCS) – cf DODS/OPeNDAP/GADS

A geographic coverage is raw (typically gridded) data

WCS similar to WMS, but provides data, not images
  (cf DODS/OPeNDAP, GADS)
Operations:
   • GetCapabilities
   • DescribeCoverage
   • GetCoverage

Coverages supplied in well-known-binary format:
   •   GeoTIFF, HDF-EOS, DTED, NITF, GML, netCDF???



                          British Atmospheric Data Centre
                              http://badc.nerc.ac.uk
OGC web services
Web Feature Service (WFS)

Provides access to geographic feature instances

Features are defined by application schema compliant with the Geography
  Markup Language (GML)

Operations:
    • DescribeFeatureType (required): returns XML schema for the feature
    • GetFeature (required): allows retrieval of features in XML compliant to the feature
      schema. Selected features may be constrained through Xpath expressions
    • Transaction and LockFeature (optional): for inserting, updating and deleting
      feature instances
    • GetCapabilities: describes capabilities of WFS (as for WMS)


Typically used for vector data (eg cruise tracks), but can be any
  application schema

                             British Atmospheric Data Centre
                                 http://badc.nerc.ac.uk
OGC web services

• FOSS implementations
  – server:
     • deegree
     • geoserver
     • mapserver
  – client:
     • quickWMS
     • www.wmsviewer.com


  – List maintained on NDG wiki at
    http://ndg.nerc.ac.uk/kwiki/ndg/index.cgi?
    OtherProjects

                British Atmospheric Data Centre
                    http://badc.nerc.ac.uk
OGC web services
Summary
 – Web Map Service (WMS, ISO 19128)
    • GetCapabilities
    • GetMap
 – Web Feature Service (WFS)
    •   GetCapabilities
    •   DescribeFeatureType
    •   GetFeature
    •   Transaction, LockFeature
 – Web Coverage Service (WCS)
    • GetCapabilities
    • DescribeCoverage
    • GetCoverage
 – Catalog Service for the Web (CSW) – very new!
 – REST, not SOAP (currently)

                      British Atmospheric Data Centre
                          http://badc.nerc.ac.uk
NDG: CSML
  Climate Science Modelling Language
       (CSML, a GML application schema)
         http://ndg.nerc.ac.uk/csml
         – Defines seven features of interest!

CSML feature type      Description                                  Examples
TrajectoryFeature      Discrete path in time and space of a         ship’s cruise track, aircraft’s flight path
                       platform or instrument.
PointFeature           Single point measurement                     raingauge measurement
ProfileFeature         Single ‘profile’ of some parameter along a   wind sounding, XBT, CTD, radiosonde
                       directed line in space.
GridFeature            Single time-snapshot of a gridded field      gridded analysis field
PointSeriesFeature     Series of single datum measurements          tidegauge, rainfall timeseries
ProfileSeriesFeature   Series of profile-type measurements          vertical or scanning radar, shipborne ADCP,
                                                                    thermistor chain timeseries
GridSeriesFeature      Timeseries of gridded parameter fields.      numerical weather prediction model, ocean
                                                                    general circulation model



                                      British Atmospheric Data Centre
                                          http://badc.nerc.ac.uk
CSML

                                                   ProfileSeriesFeature




ProfileFeature




           GridFeature




                 British Atmospheric Data Centre
                     http://badc.nerc.ac.uk
NERC DataGrid; web services coming soon

  Discovery Service (here now)
  Data Extractor (next week)
  Vocab Service (next month)
  Attribute Authority (next couple of months)
  Data Provider (next couple of months)
  DeliveryBroker (later this year)
  Browse Service (a long way off)
  All Open Source, documented, clear APIs
              British Atmospheric Data Centre
                  http://badc.nerc.ac.uk
NERC DataGrid: Discovery Service




        British Atmospheric Data Centre
            http://badc.nerc.ac.uk
NDG: dataExtractor and GeoSplat




        British Atmospheric Data Centre
            http://badc.nerc.ac.uk
UNIDATA
Unidata (www.unidata.ucar.edu) provide data feeds
  using their Local Data Manager (LDM) technology
  to push data around the U.S. (and further afield) in
  the Internet Data Distribution system (IDD).
• Users to specify in advance which data should be
  delivered to their local systems. The IDD then
  delivers the data as soon as they are available.
• The IDD is a data subscription service,
  implemented in such a way that delivery (and
  often processing) are triggered by external events.
• WMO considering the use of LDM for some data
  movement.


                  British Atmospheric Data Centre
                      http://badc.nerc.ac.uk
Unidata: LDM

LDM Delivery
•Scalable
•Hierarchical fan out
•Relying on relay sites with
appropriate resources
•Flexible
•New data products can be
introduced from any node in
the system




                          British Atmospheric Data Centre
                              http://badc.nerc.ac.uk
UNIDATA IDS Topology




     British Atmospheric Data Centre
         http://badc.nerc.ac.uk
Summary


•   Web services not just about SOAP and WSDL …
•   We should use
    •   web service standards,
    •   WS mechanisms optimised for environmental
        applications
•   Currently need to extend GML (CSML)
•   Options for data push if UK community want it
    based on LDM (or similar) technologies …
•   NDG can (and is) building a range of
    environmental web services


                   British Atmospheric Data Centre
                       http://badc.nerc.ac.uk

Más contenido relacionado

La actualidad más candente

Introduction to Hadoop and MapReduce
Introduction to Hadoop and MapReduceIntroduction to Hadoop and MapReduce
Introduction to Hadoop and MapReduceDr Ganesh Iyer
 
Amsterdam Museum as EDM Linked Open Data
Amsterdam Museum as EDM Linked Open DataAmsterdam Museum as EDM Linked Open Data
Amsterdam Museum as EDM Linked Open DataVictor de Boer
 
Upgrading To The New Map Reduce API
Upgrading To The New Map Reduce APIUpgrading To The New Map Reduce API
Upgrading To The New Map Reduce APITom Croucher
 
Introduction to MapReduce and Hadoop
Introduction to MapReduce and HadoopIntroduction to MapReduce and Hadoop
Introduction to MapReduce and HadoopMohamed Elsaka
 
Hadoop MapReduce Introduction and Deep Insight
Hadoop MapReduce Introduction and Deep InsightHadoop MapReduce Introduction and Deep Insight
Hadoop MapReduce Introduction and Deep InsightHanborq Inc.
 
Rakuten LeoFs - distributed file system
Rakuten LeoFs - distributed file systemRakuten LeoFs - distributed file system
Rakuten LeoFs - distributed file systemRakuten Group, Inc.
 
Geo2tag LBS platform training at FRUCT12
Geo2tag LBS platform training at FRUCT12Geo2tag LBS platform training at FRUCT12
Geo2tag LBS platform training at FRUCT12OSLL
 
Session 09 - Flume
Session 09 - FlumeSession 09 - Flume
Session 09 - FlumeAnandMHadoop
 

La actualidad más candente (9)

Introduction to Hadoop and MapReduce
Introduction to Hadoop and MapReduceIntroduction to Hadoop and MapReduce
Introduction to Hadoop and MapReduce
 
Amsterdam Museum as EDM Linked Open Data
Amsterdam Museum as EDM Linked Open DataAmsterdam Museum as EDM Linked Open Data
Amsterdam Museum as EDM Linked Open Data
 
Upgrading To The New Map Reduce API
Upgrading To The New Map Reduce APIUpgrading To The New Map Reduce API
Upgrading To The New Map Reduce API
 
Introduction to MapReduce and Hadoop
Introduction to MapReduce and HadoopIntroduction to MapReduce and Hadoop
Introduction to MapReduce and Hadoop
 
Hadoop MapReduce Introduction and Deep Insight
Hadoop MapReduce Introduction and Deep InsightHadoop MapReduce Introduction and Deep Insight
Hadoop MapReduce Introduction and Deep Insight
 
Http/2
Http/2Http/2
Http/2
 
Rakuten LeoFs - distributed file system
Rakuten LeoFs - distributed file systemRakuten LeoFs - distributed file system
Rakuten LeoFs - distributed file system
 
Geo2tag LBS platform training at FRUCT12
Geo2tag LBS platform training at FRUCT12Geo2tag LBS platform training at FRUCT12
Geo2tag LBS platform training at FRUCT12
 
Session 09 - Flume
Session 09 - FlumeSession 09 - Flume
Session 09 - Flume
 

Similar a Bryan lawrence

Intro to web services
Intro to web servicesIntro to web services
Intro to web servicesNeil Ghosh
 
jkljklj
jkljkljjkljklj
jkljkljhoefo
 
SOAP--Simple Object Access Protocol
SOAP--Simple Object Access ProtocolSOAP--Simple Object Access Protocol
SOAP--Simple Object Access ProtocolMasud Rahman
 
AK 3 web services using apache axis
AK 3   web services using apache axisAK 3   web services using apache axis
AK 3 web services using apache axisgauravashq
 
Hands on with CoAP and Californium
Hands on with CoAP and CaliforniumHands on with CoAP and Californium
Hands on with CoAP and CaliforniumJulien Vermillard
 
0603 Esip Fed Wash Dc Tech Pres 060103 Esip Aq Tech Track
0603 Esip Fed Wash Dc Tech Pres 060103 Esip Aq Tech Track0603 Esip Fed Wash Dc Tech Pres 060103 Esip Aq Tech Track
0603 Esip Fed Wash Dc Tech Pres 060103 Esip Aq Tech TrackRudolf Husar
 
2006-01-11 Data Flow & Interoperability in DataFed Service-based AQ Analysis ...
2006-01-11 Data Flow & Interoperability in DataFed Service-based AQ Analysis ...2006-01-11 Data Flow & Interoperability in DataFed Service-based AQ Analysis ...
2006-01-11 Data Flow & Interoperability in DataFed Service-based AQ Analysis ...Rudolf Husar
 
Interoperable Web Services with JAX-WS and WSIT
Interoperable Web Services with JAX-WS and WSITInteroperable Web Services with JAX-WS and WSIT
Interoperable Web Services with JAX-WS and WSITCarol McDonald
 
Implementation and Performance Analysis of a UDP Binding for SOAP
Implementation and Performance Analysis of a UDP Binding for SOAPImplementation and Performance Analysis of a UDP Binding for SOAP
Implementation and Performance Analysis of a UDP Binding for SOAPDr. Fahad Aijaz
 
Android chapter16-web-services
Android chapter16-web-servicesAndroid chapter16-web-services
Android chapter16-web-servicesAravindharamanan S
 
Collector Web Services
Collector Web ServicesCollector Web Services
Collector Web Servicespublisyst
 
060128 Galeon Rept
060128 Galeon Rept060128 Galeon Rept
060128 Galeon ReptRudolf Husar
 

Similar a Bryan lawrence (20)

Intro to web services
Intro to web servicesIntro to web services
Intro to web services
 
Future Internet
Future InternetFuture Internet
Future Internet
 
28 networking
28  networking28  networking
28 networking
 
jkljklj
jkljkljjkljklj
jkljklj
 
SOAP--Simple Object Access Protocol
SOAP--Simple Object Access ProtocolSOAP--Simple Object Access Protocol
SOAP--Simple Object Access Protocol
 
AK 3 web services using apache axis
AK 3   web services using apache axisAK 3   web services using apache axis
AK 3 web services using apache axis
 
Hands on with CoAP and Californium
Hands on with CoAP and CaliforniumHands on with CoAP and Californium
Hands on with CoAP and Californium
 
SOAP WEB TECHNOLOGIES
SOAP WEB TECHNOLOGIESSOAP WEB TECHNOLOGIES
SOAP WEB TECHNOLOGIES
 
0603 Esip Fed Wash Dc Tech Pres 060103 Esip Aq Tech Track
0603 Esip Fed Wash Dc Tech Pres 060103 Esip Aq Tech Track0603 Esip Fed Wash Dc Tech Pres 060103 Esip Aq Tech Track
0603 Esip Fed Wash Dc Tech Pres 060103 Esip Aq Tech Track
 
2006-01-11 Data Flow & Interoperability in DataFed Service-based AQ Analysis ...
2006-01-11 Data Flow & Interoperability in DataFed Service-based AQ Analysis ...2006-01-11 Data Flow & Interoperability in DataFed Service-based AQ Analysis ...
2006-01-11 Data Flow & Interoperability in DataFed Service-based AQ Analysis ...
 
Interoperable Web Services with JAX-WS and WSIT
Interoperable Web Services with JAX-WS and WSITInteroperable Web Services with JAX-WS and WSIT
Interoperable Web Services with JAX-WS and WSIT
 
RESTful OGC Services
RESTful OGC ServicesRESTful OGC Services
RESTful OGC Services
 
SOA and web services
SOA and web servicesSOA and web services
SOA and web services
 
Implementation and Performance Analysis of a UDP Binding for SOAP
Implementation and Performance Analysis of a UDP Binding for SOAPImplementation and Performance Analysis of a UDP Binding for SOAP
Implementation and Performance Analysis of a UDP Binding for SOAP
 
Android chapter16-web-services
Android chapter16-web-servicesAndroid chapter16-web-services
Android chapter16-web-services
 
Collector Web Services
Collector Web ServicesCollector Web Services
Collector Web Services
 
XML-RPC and SOAP (April 2003)
XML-RPC and SOAP (April 2003)XML-RPC and SOAP (April 2003)
XML-RPC and SOAP (April 2003)
 
060128 Galeon Rept
060128 Galeon Rept060128 Galeon Rept
060128 Galeon Rept
 
Web-Socket
Web-SocketWeb-Socket
Web-Socket
 
Xml.ppt
Xml.pptXml.ppt
Xml.ppt
 

Último

Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxWorkforce Group
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...lizamodels9
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with CultureSeta Wicaksana
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfAdmir Softic
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Delhi Call girls
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangaloreamitlee9823
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityEric T. Tung
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLSeo
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Lviv Startup Club
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Servicediscovermytutordmt
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsMichael W. Hawkins
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyEthan lee
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...amitlee9823
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒anilsa9823
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMANIlamathiKannappan
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxAndy Lambert
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageMatteo Carbone
 

Último (20)

Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
 
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael Hawkins
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
 
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pillsMifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
Mifty kit IN Salmiya (+918133066128) Abortion pills IN Salmiyah Cytotec pills
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
 

Bryan lawrence

  • 1. What is a Web Service or some relevant web services (for) Developing Applications for Real-time Environmental Data Bryan Lawrence Head, NCAS British Atmospheric Data Centre P.I. The NERC DataGrid.
  • 2. Outline Question: What is a Web Service? Answer: Acronym Soup! Fundamentals (XML+) • SOAP and REST • WSDL OGC Web Services • WFS, WCS, WFS UNIDATA • LDM NDG Web Services British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 3. What is a web service? Googling gives: • Answers.Com: Web-based applications that dynamically interact with other Web applications using open standards that include XML, UDDI and SOAP. • (Yuck: UDDI?) • emergingtech.ittoolbox.com: – A Service-Oriented Architecture (SOA) is a collection of services or software agents that communicate freely with each other. – Sub-topic definition: Web Services protocols and standards are the technology that promote the sharing and distribution of information and business data. A protocol is a standard method for transmitting data through a network. There are many different specialized protocols to accommodate the many kinds of data that might be transmitted. British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 4. SOAP Simple Object Access Protocol Horrible looking XML specification, but lots of SOAP pacakges available which are (generally easy to use), eg: from SOAPpy import SOAPproxy url=http://services.xmethods.net:80/soap/ servlet/rpcrouter’ n=‘urn:xmethods-Temperature’ server=SOAPProxy(url,namespace=n) temperature=server.getTemp(‘27502’) Returns the temperature at U.S. zipcode 27502 (from Dive Into Python, Mark Pilgrim) (One knew a priori that a method named getTEmp would return a float given an argument of a zip code, provided one used the right namespace – How?) British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 5. WSDL :Web Services Description Language >>>from SOAPpy import WSDL >>>Server=WDSL.Proxy(‘path/to/WSDL’) >>>server.method.keys() [u’doGoogleSearch’,u’doGetCachedPage’ …] >>>callInfo=server.methods[‘doGoogleSearch’] >>>for arg in callInfo.inparams: S . . . print arg.name, arg.type IE RT PE key (u’http://www.w3.org/2001/XMLSchema’,u’string’) . . . RO T P for a service, and AC parameters). Define expected messages their (input orR T output A BS will group together a number of An interface messages (operations) Bind an Interface via a definition to a specific transport (e.g. HTTP) and The network location where the service is messaging (e.g. SOAP) protocol implemented , e.g. http://localhost:8080 British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 6. REST’ful Web Services • REST (representational state transfer) is an approach for getting information content from a Web site by reading a designated (ok, you need a URI) Web page that contains an XML (Extensible Markup Language) file that describes and includes the desired content. • That’s it! You use HTTP (get,put,…) to a URI, with XML as the payload … British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 7. Web Services the confusion: (Tim Ewald): “Today, I see three camps: 1) It's all about SOAP messages …, 2) It's all about WSDL, 3) It's all about XML/HTTP. Microsoft is definitely in the first camp, focusing on doing things with SOAP whether or not they are ultimately represented as XML or a binary data rep. IBM and Iona are in the second camp, focusing on describing in WSDL, whether or not they are ultimately represented as SOAP or a binary protocol. Lots of developers and some big companies like Amazon are in the XML/HTTP camp, focusing on getting data from one place to another in a way they can consume it. [Tim Ewald: http://pluralsight.com/blogs/tewald/archive/2004/10/18/2875.aspx] British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 8. Standards • Dimensions of interoperability for earth science data dis co very ISO / OGC access e us British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 9. OGC web services • Data access services, e.g.: – Live Access Server, NDG DataExtractor – GADS – DODS/OPeNDAP – OGC web services • OGC web services – Web Map Service – Web Feature Service – Web Coverage Service [Open Geospatial Consortium (OGC): International consortium of nearly 300 companies, government agencies and universities participating in a consensus process to develop publicly available geoprocessing specifications] British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 10. OGC web services • Web Map Service (WMS) • Three operations: eg, GLOBE program WMS server – GetCapabilities (required) GetCapabilities: http://viz.globe.gov/viz-bin/wmt.cgi – GetMap (required) ?REQUEST=GetCapabilities&SERVICE=WMS – GetFeatureInfo (optional) • Typically support HTTP GET binding, SOAP being considered • GetCapabilities request – <Service> metadata for service as a whole (ISO 19115 compliant) – <Capability> metadata describes request bindings, exceptions, and: – <Layer>s: title, name, SRS, bounding box, keywords, style; nested layers inherit from parent British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 11. OGC web services • e.g.: ERA40 re-analysis surface air temperature, 2001-04-27 – deegree open-source WMS modified with netCDF connector Overlaid with rainfall from globe.digitalearth.govData Centre British Atmospheric WMS server http://badc.nerc.ac.uk
  • 12. OGC web services Web Coverage Service (WCS) – cf DODS/OPeNDAP/GADS A geographic coverage is raw (typically gridded) data WCS similar to WMS, but provides data, not images (cf DODS/OPeNDAP, GADS) Operations: • GetCapabilities • DescribeCoverage • GetCoverage Coverages supplied in well-known-binary format: • GeoTIFF, HDF-EOS, DTED, NITF, GML, netCDF??? British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 13. OGC web services Web Feature Service (WFS) Provides access to geographic feature instances Features are defined by application schema compliant with the Geography Markup Language (GML) Operations: • DescribeFeatureType (required): returns XML schema for the feature • GetFeature (required): allows retrieval of features in XML compliant to the feature schema. Selected features may be constrained through Xpath expressions • Transaction and LockFeature (optional): for inserting, updating and deleting feature instances • GetCapabilities: describes capabilities of WFS (as for WMS) Typically used for vector data (eg cruise tracks), but can be any application schema British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 14. OGC web services • FOSS implementations – server: • deegree • geoserver • mapserver – client: • quickWMS • www.wmsviewer.com – List maintained on NDG wiki at http://ndg.nerc.ac.uk/kwiki/ndg/index.cgi? OtherProjects British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 15. OGC web services Summary – Web Map Service (WMS, ISO 19128) • GetCapabilities • GetMap – Web Feature Service (WFS) • GetCapabilities • DescribeFeatureType • GetFeature • Transaction, LockFeature – Web Coverage Service (WCS) • GetCapabilities • DescribeCoverage • GetCoverage – Catalog Service for the Web (CSW) – very new! – REST, not SOAP (currently) British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 16. NDG: CSML Climate Science Modelling Language (CSML, a GML application schema) http://ndg.nerc.ac.uk/csml – Defines seven features of interest! CSML feature type Description Examples TrajectoryFeature Discrete path in time and space of a ship’s cruise track, aircraft’s flight path platform or instrument. PointFeature Single point measurement raingauge measurement ProfileFeature Single ‘profile’ of some parameter along a wind sounding, XBT, CTD, radiosonde directed line in space. GridFeature Single time-snapshot of a gridded field gridded analysis field PointSeriesFeature Series of single datum measurements tidegauge, rainfall timeseries ProfileSeriesFeature Series of profile-type measurements vertical or scanning radar, shipborne ADCP, thermistor chain timeseries GridSeriesFeature Timeseries of gridded parameter fields. numerical weather prediction model, ocean general circulation model British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 17. CSML ProfileSeriesFeature ProfileFeature GridFeature British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 18. NERC DataGrid; web services coming soon Discovery Service (here now) Data Extractor (next week) Vocab Service (next month) Attribute Authority (next couple of months) Data Provider (next couple of months) DeliveryBroker (later this year) Browse Service (a long way off) All Open Source, documented, clear APIs British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 19. NERC DataGrid: Discovery Service British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 20. NDG: dataExtractor and GeoSplat British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 21. UNIDATA Unidata (www.unidata.ucar.edu) provide data feeds using their Local Data Manager (LDM) technology to push data around the U.S. (and further afield) in the Internet Data Distribution system (IDD). • Users to specify in advance which data should be delivered to their local systems. The IDD then delivers the data as soon as they are available. • The IDD is a data subscription service, implemented in such a way that delivery (and often processing) are triggered by external events. • WMO considering the use of LDM for some data movement. British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 22. Unidata: LDM LDM Delivery •Scalable •Hierarchical fan out •Relying on relay sites with appropriate resources •Flexible •New data products can be introduced from any node in the system British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 23. UNIDATA IDS Topology British Atmospheric Data Centre http://badc.nerc.ac.uk
  • 24. Summary • Web services not just about SOAP and WSDL … • We should use • web service standards, • WS mechanisms optimised for environmental applications • Currently need to extend GML (CSML) • Options for data push if UK community want it based on LDM (or similar) technologies … • NDG can (and is) building a range of environmental web services British Atmospheric Data Centre http://badc.nerc.ac.uk