The Role of Open data, XML in the Communication within Parliaments and in the Society Andreas Wortmann andreas.wortmann@parl.admin.ch ECPRD ICT - Budapest of the ECPRD 15th and 16th November 2012
Data-Access before 2010 Curia Database Swissbase …. Database CMS: www.parliament.ch Swissbase Application-Server 1 …. Database Application-Server n ECPRD ICT - Budapest of the ECPRD 15th and 16th November 2012
Data-Access after 2010 Curia Database Swissbase …. Database www.parliament.ch Swissbase Application-Server 1 …. Database Application-Server n ECPRD ICT - Budapest of the ECPRD 15th and 16th November 2012
The Solution A Web service is a method of communication between two electronic devices over the World Wide Web. The W3C defines a "Web service" as "a software system designed to support interoperable machine-to-machine interaction over a network". It has an interface described in a machine-processable format (specifically Web Services Description Language, known by the acronym WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP messages, typically conveyed using HTTP with an XML serialization in conjunction with other Web-related standards.“ Source: wikipedia ECPRD ICT - Budapest of the ECPRD 15th and 16th November 2012
Open Data on www.parliament.ch ECPRD ICT - Budapest of the ECPRD 15th and 16th November 2012
Open Data on www.parliament.ch ECPRD ICT - Budapest of the ECPRD 15th and 16th November 2012
Outputformat (3 in 1) HTML / XML / JSON ECPRD ICT - Budapest of the ECPRD 15th and 16th November 2012
Outputformat (3 in 1) Members of Parliament HTML: http://ws.parlament.ch/councillors XML http://ws.parlament.ch/councillors?format=XML Examples: Operation URL List of MPs /councillors search biographie: PER_801_(ID) /councillors/Basicdetails /councillors/historc ECPRD ICT - Budapest of the ECPRD 15th and 16th November 2012
Councillors as XML <?xml version="1.0" encoding="utf-8" ?> <councillors xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <councillor> <id>1353</id> <updated>2011-05-02T15:20:28Z</updated> <firstName>Giuseppe</firstName> <lastName>a Marca</lastName> <active>false</active> <code i:nil="true" /> <officialDenomination i:nil="true" /> </councillor> - <councillor> <id>1354</id> <updated>2011-05-02T15:20:38Z</updated> <firstName>Alois</firstName> <lastName>Ab Yberg</lastName> ECPRD ICT - Budapest of the ECPRD 15th and 16th November 2012
Councillors as HTML ECPRD ICT - Budapest of the ECPRD 15th and 16th November 2012
Councillors as JSON [{"id":1353,"updated":"2011-05-02T15:20:28Z","firstName":"Giuseppe","lastName":"a Marca","active":false,"code":null,"officialDenomination":null}, {"id":1354,"updated":"2011-05-02T15:20:38Z","firstName":"Alois","lastName": "Ab Yberg","active":false,"code": … ECPRD ICT - Budapest of the ECPRD 15th and 16th November 2012
Examples of Entities Councils Schedules Committees Legislative Periods Departments Cantons Factions … ECPRD ICT - Budapest of the ECPRD 15th and 16th November 2012
Direct access: http://ws.parlament.ch Some Facts Full service-oriented architecture Open to the outside/public Integration in existing systems Upgradable Direct access: http://ws.parlament.ch ECPRD ICT - Budapest of the ECPRD 15th and 16th November 2012
Thank you for your attention and see you on… www.parliament.ch www.parlement.ch www.parliamento.ch www.parlament.ch ECPRD ICT - Budapest of the ECPRD 15th and 16th November 2012