1 / 26

CIS 451: Web Services

CIS 451: Web Services. Dr. Ralph D. Westfall March, 2009. Web Services Are Part of .NET. data available through the Internet converted into and sent as XML could be sold to users, or used as part of other applications reservation systems comparison shopping

willardf
Download Presentation

CIS 451: Web Services

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CIS 451: Web Services Dr. Ralph D. Westfall March, 2009

  2. Web Services Are Part of .NET • data available through the Internet • converted into and sent as XML • could be sold to users, or used as part of other applications • reservation systems • comparison shopping • business to business (BTB) transactions • setting up appointments, etc.

  3. What Is a Web Service? • way of providing information over the Internet that gets data: • from applications coded in different languages and running on different operating systems • in a secure way • in a format that can be used by clients running on different operating systems

  4. What Is a Web Service? • software that: • is available over the Internet • uses XML to receive requests and send data • should have: • a public interface • ways for providers to publicize it and users to find it

  5. A Web Service Definition • self-describing, self-contained, modular unit of application logic • provides business functionality to other applications through Internet connections • applications access web services via web protocols and data formats • HTTP and XML • no need to know how web service is implemented by the provider

  6. Definition (continued) • web services can be mixed and matched with other web services to • execute a larger workflow • conduct a business transaction

  7. Web Services Examples • web services can provide data to be used by programs • stock prices, address validation, zip code information, sales tax rates (differ by county) • web services search engine • slow • limit of 5 queries per hour

  8. Why Web Services? Technical • platform independent • reduce cost of providing information • reduce cost of acquiring information • from local systems or over Internet • read XML data rather than from a file used by a particular operating system • reduce development time

  9. Why Web Services? Business • make it easier to integrate business processes • increased automation of existing processes • developing new processes by combining parts from other processes

  10. Microsoft Office Bridge • connects Office applications (Excel, Outlook (calendar), etc. to web services • runs with VS.NET 2003 • also requires Windows Server 2003, Office Professional Edition 2003, SQL Server 2000 (with recent service pack) • Microsoft Office Business Applications presentation (16 min)

  11. Amazon's Web Services • What is AWS? • Create/ sign in to an Amazon Web Services Account • Web Services Demonstration

  12. Web Services Components • overview with diagrams • XML describes information sent (FAQ) • WSDL tells what can do with it • web services description language • SOAP makes it possible to use them • simple object application protocol • UDDI could help find web services • universal description, discovery, integration

  13. UDDI • Universal Description, Discovery and Integration • provides capabilities for: • describing services • discovering businesses that provide them • integrating services into applications

  14. UDDI Benefits • for users • find services (like using a search engine) • figure out to use them • for providers • reaching new customers (global reach) • serving customers better • expanding product offerings

  15. UDDI Resource Links • Network World web page • includes Microsoft UDDI Business Registry, UDDI Search Engine, UDDI Browser, etc. • hit counters on links show very little traffic • Microsoft shut down its UDDI in January 2006

  16. SOAP • Excellent Flash demonstration • makes it possible for objects coded in different languages to easily send and receive messages from each other • developed by Microsoft • makes Microsoft operating systems and languages more compatible with Java applications over the Internet

  17. SOAP Request & Response • UDDI Browser page • XML request • searching EDGAR for a specific company • XML response is formatted into HTML • Google request and response XML code examples (scroll to bottom of page) • more SOAP examples

  18. WSDL • Web Services Description Language • based on XML • describes type, format and capabilities of information from a web service • how to get information from it • WSDL document structure • snowboard SOAP/WSDL example

  19. Web Service XML Examples • W3Schools web service returns XML • sample code puts XML feed into web page • ASP.NET custom control to look up area codes by zip codes • WebserviceX.NET (service provider)

  20. Conclusion • web services offer a lot of potential • up to this point, there has been a lot more hype than actual usage • being implemented more as an integration tool within organizations than in a business-to-business mode

  21. A Visual Studio Web Service • Create Web Site>ASP.NET WebService>[rename] OK • Set Service.asmx as the Start Page>Run the code>[enable debugging]>OK>click Hello World link>click Invoke • click Hello World link to see code and more information

  22. Web Services Tutorials Creating and Consuming .NET Web Services in Five Easy Steps Using Web Services with VB.NET Build Your First Web Service with Visual Studio.NET Web Reference, ASP.NET Web Application and XML Web Service

  23. The End • following slides were removed because of lower value to the presentation

  24. Google Web APIs • can use Google as web service to provide data to .NET programs • could download developer's kit and sign up • usable with Java, Perl, Ruby, C# • supposedly works with any .NET language • FAQs

  25. Activity: Web Services Contest • look at Microsoft/Amazon Web Services Developer Contest • identify issues • amount of prize? • other awards or incentives? • judging criteria • how much programming skill required

  26. eBay's Web Services • Developers Program • eliminated costs on 11/14/2005 to encourage more activity • too late to submit to eBay Developer Challenge 2006 • Find an Idea to Build

More Related