120 likes | 257 Views
Service-Oriented Architectures. Software Architecture. Matthew Moccaro. Overview. Introduction. WSDL. WS-BPEL. Introduction. Service-Oriented Architectures SOA Design Pattern based on pieces of software providing services. Directed at Supporting Business Enterprises on the Internet
E N D
Service-Oriented Architectures • Software Architecture Matthew Moccaro
Overview Introduction WSDL WS-BPEL
Introduction • Service-Oriented Architectures • SOA • Design Pattern based on pieces of software providing services. • Directed at Supporting Business Enterprises on the Internet • Independence of various interacting organizations
Core Problem • How should these things be realized? • Components (Services) • Types of Connectors • The application as a whole
Web Services Description Language • (WSDL) • Web Services • A way of providing SOA • Describe services needed • Uses XML to describe the operations needed.
Example WSDL • WSDL 1.1 • XML Schema • Information Needed • Function Call • Defines the Protocol • Endpoints
Web Services Business Process Execution Language • Need a Way to Describe Entire Application • Scripting Language • Allows Effective Expression of Business workflows and processes. • Also uses XML. • (WS-BPEL)
Example WS-BPEL • Copy Value Into Variable • Invoke Operation • Import WSDL File • Link To Service • Create Variables <import importType="http://schemas.xmlsoap.org/wsdl/" location="../../test_bucket/service_libraries/tptp_EnginePrinterPort.wsdl" namespace="http://www.eclipse.org/tptp/choreography/2004/engine/Print" /> <partnerLinks> <partnerLink name="printService“ partnerLinkType="print:printLink” partnerRole="printService"/> </partnerLinks> <variables> <variable name="hello_world“ messageType="print:PrintMessage" /> </variables> <assign> <copy> <from><literal>Hello World</literal></from> <to>$hello_world.value</to> </copy> </assign> <invoke partnerLink="printService" operation="print" inputVariable="hello_world" />
Conclusion • SOA - Design Pattern based on pieces of software providing services. • Different languages can be used to describe and help realize SOA including WSDL and WS-BPEL. • Simultaneously trying to satisfy many goals. • Interoperability between heterogeneous platforms.