510 likes | 673 Views
Web Services. Business Operation running on Global Network. Agenda. Industry Challenges Web Services SOA Standards & Specifications Development Tools Summary Q&A. Industry Challenges. Legacy Systems and Applications Upgrading/Modifying the existing code. Where is All This Headed?.
E N D
Agenda • Industry Challenges • Web Services • SOA • Standards & Specifications • Development Tools • Summary • Q&A
Industry Challenges • Legacy Systems and Applications • Upgrading/Modifying the existing code
Where is All This Headed? Internet Phase 3 Application Platform • Server-to-Server • XML, SOAP, WSDL Internet Phase 2 Information Platform • Person-to-Server • Browser, HTML, HTTP Internet Phase 1 Communication Platform • Person-to-Person • e-mail, FTP, Gopher
Where is All This Headed?What is the Transactional Web • Today: “The Eye-Ball Web” • The Architecture of the Web is geared towards delivering information visually • Tomorrow: “The Transactional Web” • The Architecture of the Web geared towards intelligently exchanging information between applications
Web Services Are Coming! • We Are At The End Of The Pioneer Phase • Internal Web Services Are Deployed! • Commercial Web Services Are Emerging • Key Standards WS-* Are Still Maturing • Toolkits are Maturing
Web Services • What is Web Service? • WSDL • SOAP • UDDI • Architecture
What is Web Services? • “Loosely coupled software components that interact with one another dynamically via standard Internet technologies” – Gartner • “Automated connections between people, systems and applications that expose elements of business functionality as a software service and create new business value” – Forrester Research
What is Web Service? • Provides a unit of work as part of Business Process • Performs a Business function • Designed to support interoperable machine-to-machine interaction over a network • Communicates with clients through standard protocols and technologies, called Web services.
Web Service Web presentation Businesslogic HTML HTTP client Database Web service XML Application server
Web Services Vs Web Applications • Web Services • XML/SOAP • Program-to-program • interaction • Static or dynamic • integration • Re-usable service • Web Application • HTML • User-to-program • interaction • Static integration of • components • Single use service
Conceptual Diagram Service Desc Service Registry Find Publish Bind Service Requestor Service Provider Service Service Desc
Web Services Technologies Points to description UDDI Registry WSDL Points to service Describes Service Finds Service Web Service Client (J2EE, .NET, PL/SQL ….) Web Service (J2EE, PL/SQL, .NET, C/C++, Legacy …) SOAP Invokes with XML Messages
Web Service Standards • Web service standards can be defined in terms of the following: • Simple Object Access Protocol (SOAP) • Web Services Description Language (WSDL) • Universal Description, Discovery and Integration (UDDI)
SOAP : XML Messaging for Web Services • SOAP : • Is an XML- based protocol for exchanging data • Represents requests and responses as XML messages • Hides details of implementation • Works with : • Any Programming Language • Any Hardware and Software platform Request (SOAP) Response (SOAP) Client Web service
Web Services Description Language • A WSDL document is an XML document that describes: • What the service does • How the service is accessed • Where the service is located • It defines the messages and the operations of a service abstractly in XML. WSDL document Types Messages Port types Bindings Services WSDL document structure
UDDI Registry • The Universal Description, Discovery and Integration (UDDI) registry: • Is an online electronic registry for registering business and Web services • Is a specification for description and discovery • Supports Publishing and Inquiry APIs to publish and query a Web service
Internet Web Service Architecture Find Locate WSIL browser Generate WSDL Register (UDDI) Find (UDDI) 1 2 3 Web service Service implementation Interface (WSDL) Web servicesdirectory 4 Send response (SOAP) 5 Web service client application
Web Service Development Approach • There are two approaches: • Top-down approach • Generate the Web Service from an existing WSDL file. • Server-side and Client-side development can be done simultaneously • Bottom-up approach • Generate the Web Service by using the existing code • It requires little or no knowledge of WSDL or XML
Top-down Approach XSD schemas Web servicedevelopment Web serviceclient development WSDL-to-Java WSDL-to-Java 1 1 WSDL Generate Java artifacts Generate Java artifacts 2 2 Web service implementation Web service client
Bottom-up Approach Web servicedevelopment Web serviceclient development Generate Java artifacts 2 WSDL 1 Java-to-WSDL WSDL-to-Java 2 1 Web service client Java class/EJB
SOA • Evolution • SOA and Web Services • Architecture • SOA Components • SOA Life Cycle • SOA Governance • SOA Security
SOA Suite Oracle SOA Evolution Portlet Web Services (WSRP) Stellent Doc Mgmt, Image Proc WSDL, UDDI, Development Tools, Expanded Web Services Platform Web Services Manager, BAM BPASuite Tangosol … 2002 2003 2004 2005 2006 2007 2008 WebLogic ALSB Repository ALBPM Event Server Web Services Support J2EE 1.4 Standard Web Services ServiceRegistry OracleDataIntegrator With each new release: • Extend Capabilities • Further Integrate BPEL Process Manager
Publish (WSDL) Locate (UDDI) Web Services Directory (UDDI) Web Services Manage Secure Web Services Consumer Web Services Provider Access (SOAP/HTTP) SOA and Web Services Web Service is the enabling technology for SOA value realization • Key elements of a SOA include services, interfaces and componentization all of which can be realized leveraging Web Services technologies • Standards based • Cross platform • Cross language • Widely supported
<xml> data </xml> http://hostname/service.wsdl W S D L ServiceRegistry Find Publish SOAP UDDI Service-Oriented Architecture ServiceConsumer ServiceProvider
Service-Oriented Architecture Web Service #1 Web Service #2 Web Service #3 Web Service #4
Service-Oriented Architecture Web Service #1 Web Service #2 Web Service #3 Web Service #4 Enterprise Service Bus
Service-Oriented Architecture Web Service #1 Web Service #2 Web Service #3 Web Service #4 Enterprise Service Bus Business Process Orchestration
BPASuite BAM BusinessIntelligence Enterprise Manager MANAGEMENT&MONITORING AnalystTools EventsBusiness Monitoring System Monitoring Analytics ORCHESTRATION GOVERNANCE JDeveloper BPEL Process Manager Web Services Manager Native BPEL Business Rules Human Workflow WS Policies ROUTING & DATA SERVICES ApplicationDevelopment Framework Security ESB Data Integrator Transform Routing Data Quality Registry ETL &Replication Mediation CONNECTIVITY UDDI DiscoveryPolicies Adapters B2B Apps DB Legacy Partners SOA Architecture J2EE Application Server(Oracle AS, JBoss, WebLogic, WebSphere) Messaging
ESB Messaging Routing Rules Transformation SOA Components • BPEL • ESB • BAM • BPA • Business Rules • BI • WSM BPEL PM ESB BAM OWSM ADAPTERS
SOA Life Cycle Integrate Orchestrate Develop Secure Manage Monitor
Oracle ESB Adapters BPEL Process Manager Jdeveloper 10G ADF 10G Web Services Manager BAM Oracle SOA Suite Integrate Orchestrate Develop Secure Manage Monitor
Developing Orchestrations Design Tool .NET <process> <sequence> <receive … /> <invoke … /> </sequence> </process> Process Designer Services BPEL Process Java Publishes To Siebel Orchestration Engine
Executing Orchestrations You’re approved! Loan Service 1 <process> <sequence> <receive … /> <invoke … /> </sequence> </process> Loan Service 2 Credit Validation Service Loan Service(Orchestration)
SOA Governance • Is an emerging discipline for control and management of SOA implementation • Provides guidelines for transition of IT systems from silos to integrated systems using SOA technology • Needs to be viewed from: • A design-time perspective (business requirements, risks, policies, standards) • A run-time perspective (technology, monitoring, life cycle) • SOA Governance is the “ability” to ensure that efforts come together to meet enterprise requirements for SOA • Driven by business Executives • Governed by policies and standards
Essence of SOA Governance • Governance with SOA addresses: • WHAT decisions must be made for effective management? • WHO should make decisions and has input rights? • HOW must the decisions be formed and enacted? Policies (What) Processes (How) Decisions (Who)
SOA Governance ..Final Note • Adhering to Standards • Publishing and Identifying Services • Monitoring and Tracking Services • Creating and Enforcing Contracts & SLA • Managing Services
SOA Security • Policy-Driven Security • Identity Management • Real-Time Monitoring • Threat Awareness • Standards Based
Operational dashboard BAM Order Booking BPEL PROCESS receive Order DB Insert Order getCustInfo Rulesrepository EJB 3.0 Customer service RulesEngine Manual Review ? DecisionService Rule Author Approval (Rich Workflow) SelectMfr RapidMfr invoke invoke 5-15 min receive receive OSB Product Suppliers Fulfill Order FedEx USPS Notify Cust Notification Service end Order Booking SOA DemoFocus on OSB, Rules, Workflow, BPEL OSB SHOPPING PORTAL Web Services Interface: XML, SOAP, WSDL, WSIF
Use Cases …(Real Time) • GE Real Estate • Wells Fargo • StateStreet Bank • Sun • Motorola
EBS EBM SalesOrderEBO EBM EBS Use Case 1 – Direct Ship (Step One) Sales Order is created in L2 and Booked. Upon booking, an event is raised. Transform to L3 Object Receive Business Event Business Event Access Interface View to extract data Insert into Interface table Application Base Table Call concurrent program Transform from L2 to EBS Application Base Table ABCS ABCS AIA 2.2 L3 (iSC) 11.i.10 L2 (LCOM) R12 Oracle Applications Adapter is used for all access to E-Business Suite
Q & A Q U E S T I O N S A N S W E R S
XML • What is XML? • XML Schema • XPath • XSLT
XML • eXtensible Markup Language • It is a Markup Language much like HTML • It is designed to carry data, not to display • These are not predefined tags • It is self descriptive • W3C recommended