Your SlideShare is downloading. ×
0
Web service- Guest Lecture at National Wokshop
Web service- Guest Lecture at National Wokshop
Web service- Guest Lecture at National Wokshop
Web service- Guest Lecture at National Wokshop
Web service- Guest Lecture at National Wokshop
Web service- Guest Lecture at National Wokshop
Web service- Guest Lecture at National Wokshop
Web service- Guest Lecture at National Wokshop
Web service- Guest Lecture at National Wokshop
Web service- Guest Lecture at National Wokshop
Web service- Guest Lecture at National Wokshop
Web service- Guest Lecture at National Wokshop
Web service- Guest Lecture at National Wokshop
Web service- Guest Lecture at National Wokshop
Web service- Guest Lecture at National Wokshop
Web service- Guest Lecture at National Wokshop
Web service- Guest Lecture at National Wokshop
Web service- Guest Lecture at National Wokshop
Web service- Guest Lecture at National Wokshop
Web service- Guest Lecture at National Wokshop
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Web service- Guest Lecture at National Wokshop

2,484

Published on

Published in: Spiritual, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,484
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
73
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. DemonstrationWorking ofIntroductionUse service interactionsExecution modelArchitectureweb servicesWebof web services
  • 2. “A software system designed tosupport interoperable machine-to-machine interactionover a network. It has an interface described in amachine-processable format (specifically Web ServicesDescription Language WSDL). Other systems interactwith the web service in a manner prescribed by itsdescription using SOAP messages, typically conveyedusing HTTP with an XML serialization in conjunctionwith other Web-related standards."
  • 3. By using Web services, your application can publish itsfunction or message to the rest of the worldWeb services use XML to code and to decode data, andSOAP to transport itWith Web services, .NET application on Win 2k serverssystem can connect with other java application.
  • 4. Web services are application componentWeb services are platform independentWeb services are self-describingWeb services can be discovered using UDDIWeb services can be used by other applicationsXML is the basis for Web services
  • 5. Remote Service request ServerDeveloper Web Service Service response
  • 6. Architectural role Service provider Service requester Service registryInteraction Publish operation Find operation Bind operation
  • 7. The basic Web services platform is XML + HTTP. XML provides a language which can be used between different platforms and programming languages and still express complex messages and functions. WSDL (Web Services DescriptionDiscovery and Integration) UDDI (Universal Description, Language)Web Service Object Access Protocol) SOAP (Simple Platform element
  • 8. WSDL is written in XMLWSDL is an XML documentWSDL is used to describe Web servicesWSDL is also used to locate Web servicesIt specifies the location of the service and the operations(or methods) the service exposes.
  • 9. Element Definition<type> The data types used by the web service<message> The messages used by the web service<port type> The operations performed by the web service<binding> The communication protocols used <binding type="glossaryTerms" name="b1"><message name="getTermRequest"> <soap:binding style="document" The <message> element defines the data elements of an operation. <part name="term" type="xs:string"/><portType name="glossaryTerms"> more parts. The/> Eachtransport="http://schemas.xmlsoap.org/soap/http" parts can be</message> can consist of one or message <operation> <operation name="setTerm"> compared to the parameters of a function call in a traditional <soap:operation soapAction="http://example.com/getTerm"/> programming language. message="newTermValues"/> <input name="newTerm"<message name="getTermResponse"> <input><soap:body use="literal"/></input> </operation> <part<output><soap:body use="literal"/></output> name="value" type="xs:string"/></portType ></message> </operation> </binding>
  • 10. SOAP is a communication protocolSOAP is for communication between applicationsSOAP is a format for sending messagesSOAP communicates via InternetSOAP is platform independent
  • 11. SOAP is language independentSOAP is based on XMLSOAP is simple and extensibleSOAP allows you to get around firewalls
  • 12. Element Definition<envelope> identifies the XML document as a SOAP message<header> contains header information<body> call and response information <?xml version="1.0"?><soap:Envelope ww.w3.org/2001/12/soap-envelope" <soap:Envelope soap:encodingStyle=http://www.w3.org/2001/12/soap-encoding>xmlns:soap="http://www.w3.org/2001/12/soap-envelope”> <soap:Header> xmlns:soap="http://www.w3.org/2001/12/soap-envelope"<soap:Body> <m:Trans xmlns:m="http://www.w3schools.com/transaction/" soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> <m:GetPrice xmlns:m="http://www.w3schools.com/prices"> soap:mustUnderstand="1">234 ... <m:Item>Apples</m:Item> </m:Trans> Message information goes here </soap:Header>... </m:GetPrice> ... ...</soap:Body> </soap:Envelope> </soap:Envelope></soap:Envelope>
  • 13. Specification for a distributed registry of Web services.Platform independent, open frameworkUses WSDL to describe interfaces to web services.UDDI is seen with SOAP and WSDL as one of the threefoundation standards of web services.
  • 14. UDDI is an open industry initiative enabling businessesto discover each other and define how they interactover the Internet
  • 15. Broker WSDL UDDI WSDL Service Servicerequester provider SOAP
  • 16. Where to find web service SERVER A DISCOVERY Web service is located in server B SERVICECLIENT How exactly to invoke SERVER B Description is send in WSDL WEB SOAP request for method SERVICE SOAP response Web service invocation
  • 17. HTTP Web Server with .asmx Pages Web Server with Browser .aspx Pages HTTP EXE XMLP HTTP PROXY XMLClient Server Service Fig. Web Service Execution Model
  • 18. Reusable application-components.Connect existing software.This allows us to hide the details of how a service isimplemented; only URL and data types are requiredIt is largely irrelevant to the client whether the service isdeveloped with Java or ASP.NET or if it is running onWindows, Linux or any other platform
  • 19. Creating web servicesConsuming web services in web applicationsConsuming web services in windows applications

×