Скачать презентацию Tunis International Centre for Environmental Technologies Small Seminar Скачать презентацию Tunis International Centre for Environmental Technologies Small Seminar

cc2dec1c64defd2b47dab62bbc752a82.ppt

  • Количество слайдов: 18

Tunis International Centre for Environmental Technologies Small Seminar on Networking Technology Information Centers UNFCCC Tunis International Centre for Environmental Technologies Small Seminar on Networking Technology Information Centers UNFCCC secretariat offices Bonn, Germany 12 - 13 March 2007

Table of content n Web Services implementation General description Methods created Main access page Table of content n Web Services implementation General description Methods created Main access page Service description (WSDL) Example: search from a predefined list Search: using a keywords The Nu. SOAP library n Problems encountered during the implementation Response time Increasing number of Centers Technical implementation n Ideas for the future Cost/effort estimation for WS implementation for new Centers What could be done to improve the current solution? March 2007 Tunis International Centre for Environmental Technologies 2

Tunis International Centre for Environmental Technologies Web Service implementation Tunis International Centre for Environmental Technologies Web Service implementation

General description n n Web Service prototype could be accessed through: http: //www. citet. General description n n Web Service prototype could be accessed through: http: //www. citet. nat. tn/masc/ws/ Simple interface designed to give a look and feel as that of the CITET’s documentary portal. Simple iframe page was hosted on the CITET’s portal server. All the client-side solution was hosted on a different platform to avoid any code conflict or shutdown incidents. The server hosting the client-side solution is powered by : Linux Redhat EL 4, Core 2. 6. 9 -5 smp My. SQL-4. 1. 7 -4 RHE 4. 1 PHP-4. 3. 9 -3. 1 httpd-2. 0. 52 -9. ent. Apache n The SOAP library used to create the Web Service solution is Nu. Soap March 2007 Tunis International Centre for Environmental Technologies 4

Methods created n The CITETdb (CITET database) is about Environment Actors. Six (6) methods Methods created n The CITETdb (CITET database) is about Environment Actors. Six (6) methods can be invoked : Get. Actor. By. Type : returns a list of Actors by Type Get. Actor. By. Organization : returns the Actor for a specified Organization Get. Actor. By. Field. Activity : returns the Actor for a specified Field Activity Get. Actor. By. Speciality : returns the Actor for a specified Speciality Get. Actor. By. Institutional. Type : returns the Actor for a specified Institutional Type Get. Actor. By. Name : returns the Actor for a specified Name n n n The page listing the methods made available for testing was created based on the CEP service page. A WSDL file describes the service, its methods, and the format of inputs and outputs in detail. It can be accessed through the “Service Description” link available on the home page. The methods results are returned and displayed in XML format. March 2007 Tunis International Centre for Environmental Technologies 5

Main access page March 2007 Tunis International Centre for Environmental Technologies 6 Main access page March 2007 Tunis International Centre for Environmental Technologies 6

Service description (WSDL) March 2007 Tunis International Centre for Environmental Technologies 7 Service description (WSDL) March 2007 Tunis International Centre for Environmental Technologies 7

Example: search from a predefined list March 2007 Tunis International Centre for Environmental Technologies Example: search from a predefined list March 2007 Tunis International Centre for Environmental Technologies 8

Search: using a keywords March 2007 Tunis International Centre for Environmental Technologies 9 Search: using a keywords March 2007 Tunis International Centre for Environmental Technologies 9

The Nu. SOAP library n The Nu. SOAP library used offer a simple interface The Nu. SOAP library n The Nu. SOAP library used offer a simple interface to describe all the functions made available through the Web Service. The description of each function includes: function parameters, function input and output, request & response messages, etc. March 2007 Tunis International Centre for Environmental Technologies 10

Tunis International Centre for Environmental Technologies Problems encountered during the implementation Tunis International Centre for Environmental Technologies Problems encountered during the implementation

Response time n n While implementing the Web Service and testing the Web client Response time n n While implementing the Web Service and testing the Web client using the CITET Web Service and the TTClear’s, some questions raised and were discussed in the CITET Team. The main objective motivating the implementing of Web Services through the Centre’s Network is to share information between them, but also to avoid the storage of the same information within each Centre’s Database. However, if the Web Client implemented within the CITET’s portal gathers information from all the Network Centres, problems may raise in terms of response time. Indeed, a user asking for example for Environment Actors through the Network, make the Web Client used send a request to all the Web Services available within the Network, get their answers, gather them and make a certain aggregation before displaying the final result to the visitor. We think that this process could take a long time, and may cause some web server errors like “execution time out”. March 2007 Tunis International Centre for Environmental Technologies 12

Increasing number of Centers n n While the number of the Network Centres will Increasing number of Centers n n While the number of the Network Centres will be increasing, it may be important to think about the implementation of a Main Server (or Central Server) that would gather central information to facilitate and centralize information about, at least, the content and the information offered by each Centre Web Service. This model could help to get a faster response time to all the Network members. A Main Server solution could also help to get general and statistics information to allow a preparation of recommendation reports and draw the orientations that should be made available for the Networks Centers as strategic information. March 2007 Tunis International Centre for Environmental Technologies 13

Technical implementation n The CITET team made the necessary lecture, technical work and effort Technical implementation n The CITET team made the necessary lecture, technical work and effort to implement a Web Service solution. We think that this technical side could be made available by the Network Secretariat to: Offer Less time needed to make implementation Replace the programming process by training sessions (the Web Service solution could then be provided by the Secretariat) Propose different implementation solutions to be able to address different platforms specifications (php, java, . net, etc. ) March 2007 Tunis International Centre for Environmental Technologies 14

Tunis International Centre for Environmental Technologies Ideas for the future Tunis International Centre for Environmental Technologies Ideas for the future

Cost/effort estimation for WS implementation for new Centers Estimated Duration Item Computer purchasing Web Cost/effort estimation for WS implementation for new Centers Estimated Duration Item Computer purchasing Web Service and Web Client programming and integration 7 days 45 days Information & data collecting 7 days Data exchange with other Network Centres 4 days Training session 5 days 68 days March 2007 Tunis International Centre for Environmental Technologies 16

What could be done to improve the current solution? n n n Every Centre What could be done to improve the current solution? n n n Every Centre could take advantage of using the Web Services. Indeed, valuable information may be offered to the visitors of web sites / portals. The current test of Web Service implemented on the CITET’s portal offer information about “Environment Actors” in Tunisia and in the near region. The CITET’s portal is a documentary one. An important amount of information is stored on its databases and could be used for Web Services broadcasting and sharing. The current data used was extracted and prepared manually for prototyping reasons. Therefore, some part of it was altered for incompatibility reasons between platforms. Now that the Web Services techniques are mastered, the CITET team could think about connecting the Web Services directly to all needed data tables existing in the portal database. That will guarantee: data coherence, avoid platform incompatibility problems and offer up to date data in a timely manner. n Finally, this new services should be used largely. Therefore, CITET is planning to inform all the visitors of its portal by sending information through its Newsletter and put the XML logo on the main page to let visitors know about all the functions available. March 2007 Tunis International Centre for Environmental Technologies 17

Thank you for your kind attention March 2007 Tunis International Centre for Environmental Technologies Thank you for your kind attention March 2007 Tunis International Centre for Environmental Technologies 18