WebServices - CS 580 Client-Server Programming Spring...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CS 580 Client-Server Programming Spring Semester, 2010 Doc 23 Web Services, REST & the rest 4 May 2010 Copyright ©, All rights reserved. 2010 SDSU & Roger Whitney, 5500 Campanile Drive, San Diego, CA 92182-7700 USA. OpenContent ( http:// www.opencontent.org/opl.shtml ) license defines the copyright on this document. Web Services 2 SOAP – Simple Object Access Protocol 1998 Created by Winer, Box, Atkinson, Al-Ghosein Version 1.2 dropped the acronym WSDL – Web Services Description Language UUDI – Universal Description, Discovery and Integration of Web Services Web Services 2 SOAP – Simple Object Access Protocol 1998 Created by Winer, Box, Atkinson, Al-Ghosein Version 1.2 dropped the acronym WSDL – Web Services Description Language UUDI – Universal Description, Discovery and Integration of Web Services UDDI 3 Registry for businesses worldwide to list themselves on the Internet UDDI business registration consists of: • White Pages — address, contact, and known identifiers; • Yellow Pages — industrial categorizations based on standard taxonomies; • Green Pages — technical information about services exposed by the business. 2005 - 70% of Fortune 500 companies plan to use UDDI 2006, January IBM, Microsoft shut down root UDDI servers http://en.wikipedia.org/wiki/UDDI UDDI Reborn 4 Plays the role of Dispatcher Not clear how wide spread use is WSDL 5 Description of how to interact with a Soap Server Tools exist to Generate WSDL from a Server class Generate Server or client stub classes from WSDL Sample Server 6 package samples.quickstart.service.pojo; import java.util.HashMap; public class StockQuoteService { private HashMap map = new HashMap(); public double getPrice(String symbol) { Double price = (Double) map.get(symbol); if(price != null){ return price.doubleValue(); } return 42.00; } public void update(String symbol, double price) { map.put(symbol, new Double(price)); } } Standard example from Apache Axis SOAP server WSDL - Namespaces 7 ?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:axis2="http://quickstart.samples/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://quickstart.samples/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www....
View Full Document

This note was uploaded on 10/16/2011 for the course CS 580 taught by Professor Rogerwhitney during the Spring '11 term at Community college of RI.

Page1 / 26

WebServices - CS 580 Client-Server Programming Spring...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online