VIDYAA VIKAS COLLEGE OF ENGINEERING AND TECHNOLOGY TIRUCHENGODE UNIT I

Similar documents

IT6801-SERVICE ORIENTED ARCHITECTURE

(9A05803) WEB SERVICES (ELECTIVE - III)

UNIT - IV

Web service design. every Web service can be associated with:

Programming Web Services in Java

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI

PESIT Bangalore South Campus Hosur road, 1km before Electronic City, Bengaluru -100 Department of MCA

BPEL Research. Tuomas Piispanen Comarch


DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI

Implementing a Ground Service- Oriented Architecture (SOA) March 28, 2006

SERVICE ORIENTED ARCHITECTURE 2 MARK QUESTION WITH ANSWER

Oracle Developer Day

ActiveVOS Technologies

Oracle Exam 1z0-478 Oracle SOA Suite 11g Certified Implementation Specialist Version: 7.4 [ Total Questions: 75 ]

Service-Oriented Architecture (SOA)

Simple Object Access Protocol (SOAP) Reference: 1. Web Services, Gustavo Alonso et. al., Springer

UNIT V WS-BPEL basics WS-Coordination overview - WS-Choreography, WS-Policy, WSSecurity

J2EE APIs and Emerging Web Services Standards

Chapter 8 Web Services Objectives

Software Design COSC 4353/6353 DR. RAJ SINGH

JAVA COURSES. Empowering Innovation. DN InfoTech Pvt. Ltd. H-151, Sector 63, Noida, UP

SOAP Specification. 3 major parts. SOAP envelope specification. Data encoding rules. RPC conventions

CAS 703 Software Design

SUN. Java Platform Enterprise Edition 6 Web Services Developer Certified Professional

Global Reference Architecture: Overview of National Standards. Michael Jacobson, SEARCH Diane Graski, NCSC Oct. 3, 2013 Arizona ewarrants

RESTful Web service composition with BPEL for REST

This presentation is a primer on WSDL Bindings. It s part of our series to help prepare you for creating BPEL projects. We recommend you review this

Goal: Offer practical information to help the architecture evaluation of an SOA system. Evaluating a Service-Oriented Architecture

SOFTWARE ARCHITECTURES ARCHITECTURAL STYLES SCALING UP PERFORMANCE

Lesson 10 BPEL Introduction

Java J Course Outline

Sistemi ICT per il Business Networking

Web Services Development for IBM WebSphere Application Server V7.0

Java Web Service Essentials (TT7300) Day(s): 3. Course Code: GK4232. Overview

BPEL4WS (Business Process Execution Language for Web Services)

Implementing a Business Process

C exam. IBM C IBM WebSphere Application Server Developer Tools V8.5 with Liberty Profile. Version: 1.

Oracle. Exam Questions 1z Java Enterprise Edition 5 Web Services Developer Certified Professional Upgrade Exam. Version:Demo

Integrating Legacy Assets Using J2EE Web Services

DISTRIBUTED COMPUTING

CmpE 596: Service-Oriented Computing

Enterprise System Integration. Lecture 10: Implementing Process-Centric Composite Services in BPEL

Realisation of SOA using Web Services. Adomas Svirskas Vilnius University December 2005

This presentation is a primer on the BPEL Language. It s part of our series to help prepare you for creating BPEL projects. We recommend you review

Service Oriented Architectures Visions Concepts Reality

Web Services. GC: Web Services-I Rajeev Wankar

SHORT NOTES / INTEGRATION AND MESSAGING

We recommend you review this before taking an ActiveVOS course or before you use ActiveVOS Designer.

Service Interface Design RSVZ / INASTI 12 July 2006

WebServices the New Era

Integration Framework. Architecture

5.3 Using WSDL to generate client stubs

Notes. Submit homework on Blackboard The first homework deadline is the end of Sunday, Feb 11 th. Final slides have 'Spring 2018' in chapter title

Semantic Web. Semantic Web Services. Morteza Amini. Sharif University of Technology Fall 94-95

SERVICE-ORIENTED COMPUTING

Distribution and web services

Next-Generation SOA Infrastructure. An Oracle White Paper May 2007

BEAAquaLogic. Service Bus. Interoperability With EJB Transport

Architectural patterns and models for implementing CSPA

Appendix A - Glossary(of OO software term s)

SOA: Service-Oriented Architecture

The Impact of SOA Policy-Based Computing on C2 Interoperation and Computing. R. Paul, W. T. Tsai, Jay Bayne

Vision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1

COP 4814 Florida International University Kip Irvine. Inside WCF. Updated: 11/21/2013

WSDL Document Structure

Lesson 3 SOAP message structure

1Z Oracle. Java Enterprise Edition 5 Enterprise Architect Certified Master

Software Service Engineering

Using JBI for Service-Oriented Integration (SOI)

Artix Version Getting Started with Artix: Java

A Reference Architecture for Service Oriented Architecture (SOA)

Artix Building Service Oriented Architectures Using Artix

Oracle Fusion Middleware

IBM Rational Application Developer for WebSphere Software, Version 7.0

Oracle Application Integration Architecture - Foundation Pack 2.5: Concepts and Technologies Guide

IT SERVICE ORIENTED ARCHITECTURE UNIT I PART A

Web Services Architecture Directions. Rod Smith, Donald F Ferguson, Sanjiva Weerawarana IBM Corporation

Distributed Systems. Web Services (WS) and Service Oriented Architectures (SOA) László Böszörményi Distributed Systems Web Services - 1

Developing Windows Communication Foundation Solutions with Microsoft Visual Studio 2010

Services Oriented Architecture and the Enterprise Services Bus

describe the functions of Windows Communication Foundation describe the features of the Windows Workflow Foundation solution

Composing Web Services using BPEL4WS

Chapter Outline. Chapter 2 Distributed Information Systems Architecture. Layers of an information system. Design strategies.

Chapter Outline. Chapter 2 Distributed Information Systems Architecture. Distributed transactions (quick refresh) Layers of an information system

International Journal of Computer Science Trends and Technology (IJCST) Volume 3 Issue 6, Nov-Dec 2015

Applications MW Technologies Fundamentals. Evolution. Applications MW Technologies Fundamentals. Evolution. Building Blocks. Summary.

Socket attaches to a Ratchet. 2) Bridge Decouple an abstraction from its implementation so that the two can vary independently.

Architecting a Network-Centric M&S Application

Web Services in Cincom VisualWorks. WHITE PAPER Cincom In-depth Analysis and Review

Oracle SOA Suite 10g: Services Orchestration

Overview SENTINET 3.1

Enterprise SOA Experience Workshop. Module 8: Operating an enterprise SOA Landscape

SOAP. Jasmien De Ridder and Tania Van Denhouwe

Agent-Enabling Transformation of E-Commerce Portals with Web Services

Announcements. me your survey: See the Announcements page. Today. Reading. Take a break around 10:15am. Ack: Some figures are from Coulouris

Topics on Web Services COMP6017

Artix ESB. Building Service Oriented Architectures Using Artix ESB. Making Software Work Together. Version 5.0 July 2007

Semantic Web. Semantic Web Services. Morteza Amini. Sharif University of Technology Spring 90-91

Transcription:

1 1. What is Service Oriented Architecture? UNIT I Service oriented architecture is essentially a collection of services. These services communicate with each other. The communication can involve either simple data passing or it could involve two or more services coordinating some activity. 2. Define Contemporary SOA. Contemporary SOA represents an architecture that promotes service orientation through the use of web services. 3. List out some characteristics of Contemporary SOA. Some of the characteristics of contemporary SOA are:- i. Contemporary SOA is at the core of the service oriented platform. ii. Contemporary SOA increases quality of service. iii. Contemporary SOA is fundamentally autonomous. iv. Contemporary SOA is based on open standards. v. Contemporary SOA supports vendor diversity. vi. Contemporary SOA fosters intrinsic interoperability. vii. Contemporary SOA promotes discovery. viii. Contemporary SOA promotes federation. ix. Contemporary SOA promotes architectural composability. x. Contemporary SOA fosters inherent reusability. 4. What are the benefits of SOA? The benefits of SOA are: i. Improved integration and intrinsic interoperability ii. Inherent reuse iii. Streamlined architectures and solutions iv. Leveraging the legacy investment v. Establishing standardized XML data representation vi. Focused investment on communications infrastructure vii. Best-of-breed alternatives viii. Organizational agility 5. What are the common pitfalls of adopting SOA? The common pitfalls of adopting SOA are: i. Building service oriented architectures like traditional distributed architectures ii. Not standardizing SOA iii. Not creating a transition plan iv. Not starting with an XML foundation architecture v. Not understanding SOA performance requirements vi. Not understanding web services security vii. Not keeping in touch with product platforms and standards development

2 6. What are the requirements is needed to fill QoS gaps between contemporary and Primitive SOA? Contemporary SOA is striving to fill the QoS gaps of the primitive SOA model with the following requirements: i. Security (contents and access) ii. Reliability (message guaranteed delivery) iii. Appropriate performance iv. Protecting business integrity v. Executing exception logic in case of failure 7. What is Autonomous Principle? Autonomous Principle represents the ability of a service to carry out its logic independently of outside influences. 8. List out the different levels of Autonomy. Different levels of Autonomy are: i. Runtime autonomy ii. Design time autonomy 9. What is Runtime Autonomy? Runtime Autonomy represents the amount of control a service has over its execution environment at runtime. 10. What is Design time autonomy? Design time autonomy represents the amount of governance control a service owner has over the service design. 11. Expand UDDI. UDDI stands for Universal Description Discovery and Integration. 12. What are the design characteristics required to facilitate interoperability in contemporary SOA? The design characteristics required to facilitate interoperability are: i. Standardization ii. Scalability iii. Behavioral predictability iv. Reliability 13. How is loose coupling concept achieved in SOA? The loose coupling concept is achieved by implementing standardized service abstraction layers when service orientation principles are applied to both business modeling and technical design.

3 14. What is referred as Organizational Agility? Organizational Agility refers to efficiency with which an organization can respond to change. 15. What is Architecture? Architecture refers a systematic arrangement of computerized automation technological solutions. 16. What is application architecture? Application architecture is a template for all others which specifically explained the technology, boundaries, rules, limitations, and design characteristics that apply to all solutions based on this template. 17. What is enterprise architecture? Enterprise architecture is a creation of master specification when numerous, disparate and integrate application architectures exist within an organization. 18. What is Single-tier client-server architecture? Single-tier client-server architecture is an environment in which bulky mainframe backends server served the thin clients. 19. List out the primary characteristics of the two tier client server architecture? The primary characteristics of the two tier client server architectures is given below which is compared to SOA i. Application logic ii. Application processing iii. Technology iv. Security v. Administration 20. What is multi-tier client-server architectures? Multi-tier architecture (often referred to as n-tier architecture) is a client-server architecture in which the presentation, the application processing, and the data management are logically separate processes. 21. List out the types of communications of mainframe systems? The different types of communications of mainframe systems are: i. Synchronous communication ii. Asynchronous communication

4 22. Define synchronous communication. Synchronous communication allows the client and server to wait for each other to transfer the message. That is, the client will not continue until the server has received the message. 23. Define asynchronous communication. Asynchronous communication allows the server to continuously receive messages from the client without waiting for the server to respond. 24. List out the types of service autonomy? The different types of service autonomy are: i. Service-level autonomy ii. Pure autonomy 25. What are the key benefits of service reuse? The key benefits of service reuse are: i. Accommodate future requirements with less development effort ii. Reduce the need for creating wrapper services iii. Reduction of cost by not just avoiding duplication of code iv. Reducing risks by reusing well-tested code and runtime environments 26. State Separation of concerns. Separation of concerns is an established software engineering theory based on the idea of breaking down a large problem into a series of individual concerns. 27. What are the parts of automation logic? The four identified parts of automation logic related to different sized units of logic as follows: i. messages = units of communication ii. operations = units of work iii. services = units of processing logic (collections of units of work) iv. processes = units of automation logic (coordinated aggregation units of work) 28. What are the issues that are raised in the client-server and the distributed Internet architecture? The issues that are raised in the client-server and the distributed Internet architecture comparisons are discussed in a comparison between multi-tier client-server and SOA. i. Application logic ii. Application processing iii. Technology iv. Security v. Administration

5 29. What is the use of RPC? Client-server remote procedure call (RPC) connection is used for remote communication between components residing on client workstations and servers. 30. Write down the advantage of RPC? Advantages of RPC are: i. Better load balancing: More evenly distributed processing (e.g., application logic distributed between several servers) ii. More scalable: Only servers experiencing high demand need be upgraded iii. Multiple concurrent requests are processed 31. Write down the disadvantages of RPC? Disadvantages of RPC are: In heavily loaded network i. More distributed processing necessitates more data exchanges ii. Difficult to program and test due to increased complexity 32. What is the difference between services and components? Services are logical grouping of components to achieve business functionality. Components are implementation approaches to make a service.

6 1. What is Web Services? UNIT II A web service is used to implement architecture according to service oriented architecture (SOA) concepts. The basic unit of communication is message. 2. What are the basic parts comprised in the web services framework? The basic parts comprised in the web services framework are: i. one or more architectures ii. technologies iii. concepts iv. models v. sub-frameworks 3. List out the characteristics of web services framework. The various characteristics of web services framework are: i. An abstract (vendor-neutral) existence defined by standards organizations and implemented by (proprietary) technology platforms. ii. Core building blocks that include web services, service descriptions, and messages. iii. A communication agreement centered around service descriptions based on WSDL. iv. A messaging framework comprised of SOAP technology and concepts. v. A service description registration and discovery architecture sometimes realized through UDDI. vi. A well-defined architecture that supports messaging patterns and compositions. vii. A second generation of web services extensions (also known as the WS-* specifications) continually broadening its underlying feature-set. 4. Write down the advantage of web services. The various advantages of web services are: i. Flexible ii. Adaptable iii. Promotes interoperability iv. Reduces complexity by encapsulation v. Enables just-in-time integration 5. Give the classification of web services design. The different classification of web services design is: i. Temporary classification (service roles) ii. Permanent classification (service models)

7 6. Define Service. A service is a unit of software capable of altering its role, depending on its processing responsibility in a given scenario. 7. What are the fundamentals in role of service? The different fundamental in role of services are: i. Service provider ii. Service consumer iii. Intermediaries iv. Initial sender and ultimate receiver v. Service compositions 8. What is the service provider? The service provider is used to identify the organization (or individual) responsible for actually providing the web service. It simply referred as the service being invoked. 9. What is service requestor? Service requestor is a processing logic unit capable of issuing a request message that can be understood by the service provider. 10. What are referred to as intermediaries? Web services and service agents route and process a message after it is initially sent and before it arrives at its ultimate destination are referred to as intermediaries or intermediary services. 11. Give the types of intermediaries. The different types of intermediaries are: i. Passive intermediary ii. Active intermediary 12. What is initial sender? Initial senders are simply service requestors that initiate the transmission of message. It is the first web service in a message path. 13. What is ultimate receiver? Ultimate receiver identifies service consumer that exist as the last web service along a messages path.

8 14. What is service composition? A service composition is a coordinated aggregate of services each is assigned with service composition number to complete a given task. Service compositions also are referred to as service assemblies. 15. What is referred as service models? Service models refer to permanent classifications that represent the logic housed by the service, as well as its role within the overall solution. 16. What are the basic sets of common service models? The basic sets of communication service models are: i. Business service model ii. Utility service model iii. Controller service model 17. What is business service model? The business service model is a model that encapsulates a distinct set of business logic within a well-defined functional boundary. The business service model corresponds to the business service layer in SOA abstraction layer. 18. List out some of the usage of business service model. Business services are used within SOAs as follows: i. as functional building blocks for the representation of business logic ii. to represent a corporate entity or information set iii. to represent business process logic iv. as service composition members 19. What is utility service model? Utility service is generic and non-application specific web service or service agent that is designed for potential reuse. 20. List out some of the usage of utility service model. Utility services are used within SOAs as follows: i. as services that enable the characteristic of reuse within SOA ii. as solution-agnostic intermediary services iii. as services that promote the intrinsic interoperability characteristic of SOA iv. as the services with the highest degree of autonomy 21. What does controller service model represent? The controller service represents a service with a capability that is executing the parent composition logic required to compose capabilities within other services. The controller services can become subordinate service composition members.

9 22. List out some of the usage of controller service model. Controller services are used within SOAs as follows: i. to support and implement the principle of composability ii. to leverage reuse opportunities iii. to support autonomy in the other services 23. What is referred to as service description documents? The individual documents that comprise a service contract are referred to as service description documents. 24. What do service endpoints provide? Service endpoint provides a formal definition of the endpoint interface and also establishes the physical location of the service. 25. What are service descriptions? A WSDL service description explains how the service description document itself is organized. It is also known as WSDL service definition or just WSDL definition. 26. What are the categories of service description? Service description id divided into two categories i. Abstract description ii. Concrete description 27. What does abstract description establish? An abstract description establishes the interface characteristics of the web service without any reference to the technology used to host or enable a web service to transmit messages. 28. What are the parts that comprise an abstract description? The three main parts that comprise an abstract description are i. Port type ii. Operation iii. Message 29. What does port type in abstract description provide? Port type provides a high-level view of the service interface by sorting the messages a service can process into groups of functions. 30. Define concrete description. The concrete description portion of the WSDL file defines the connection needed from the abstract web service interface to a physical transport protocol.

10 31. What are the parts that comprise concrete description? The three main parts that comprise concrete description are i. Binding ii. Port iii. Service 32. What is metadata? Metadata provides information about the service. 33. What is the use of SOAP? The Simple Object Access Protocol (SOAP) is used to define a standard message format which is used for communication between services running on different operating systems. 34. List out some of the characteristics of SOAP messaging framework. SOAP messaging framework ha the following three characteristics that are i. Extensible ii. Interoperable iii. Independent 35. What are the parts of SOAP message? SOAP message consists of the three parts: SOAP envelope SOAP header (optional) SOAP body SOAP fault 36. List out messaging styles offered by SOAP. i. RPC (Remote Procedure Call) style ii. Document style 37. Sketch the anatomy of a SOAP message. <?xml version= 1.0?> <soap:envelope xmlns:soap= http://www.w3.org/2001/12/soap-envelope soap:encodingstyle= http://www.w3.org/2001/12/soap-encoding > <soap:header>... </soap:header> <soap:body>... <soap:fault>

11... </soap:fault> </soap:body> </soap:envelope> 38. What is SOAP node? The programs that use services to transmit and receive SOAP messages are referred to as SOAP nodes. 39. What is called the SOAP message path? The route taken by the message is called the SOAP message path. The set of SOAP nodes through which the SOAP message passes, including the initial sender, the ultimate receiver and one or more intermediaries are called the SOAP message path. 40. Define Message Exchange Pattern. Message Exchange Pattern (MEP) defines the way that SOAP messages are exchanged between the web service requester and web service provider. It represents a set of templates. 41. List out some primitive MEPs. A common set of primitive MEPs are listed below i. Request-response ii. Fire-and-forget iii. Complex MEPs 42. What is Publish-and-subscribe pattern? Publish-and-subscribe pattern is an asynchronous MEP in which publisher sends messages to all interested subscribers. 43. What is coordination? Coordination is the act of one entity (known as the coordinator) disseminating information to a number of participants for coordinating the activities of the web services that are part of a business process. 44. Write down the layers of abstraction identified for SOA. The three layers of abstraction identified for SOA are: i. the application service layer ii. the business service layer iii. the orchestration service layer

12 45. List some of the characteristics of Application Service layer. i. Expose functionality within a specific processing context ii. Draw upon available resources within a given platform iii. Solution agnostic iv. Generic and reusable v. Achieve point-to-point integration with other application services vi. Inconsistent in terms of the interface granularity they expose vii. Mixture of custom-developed and third-party purchased services

13 1. What is Service oriented analysis? UNIT III The service oriented analysis is the process of determining how business automation requirements can be represented through service orientation. 2. What are the goals needed for performing a service-oriented analysis? The overall goals of performing a service-oriented analysis are as follows: i. Define a preliminary set of service operation candidates ii. Group service operation candidates into logical contexts. These contexts represent service candidates. iii. Define preliminary service boundaries so that they do not overlap with any existing or planned services. iv. Identify encapsulated logic with reuse potential. v. Ensure that the context of encapsulated logic is appropriate for its intended use. vi. Define any known preliminary composition models. 3. Give the step-by-step process in the service oriented analysis. Step 1: Define business automation requirements Step 2: Identify existing automation systems Step 3: Model candidate services 4. What is Service modeling? Service modeling is a process of identifying candidate service operation and then grouping them into a logical context. 5. What is Business-centric SOA? Business-centric SOA is the process of introducing service oriented principles into the domain of business analysis. 6. Define Business Process Management (BPM) models. Business Process Management models is a set of activities that is essential for a new or existing business in a way that helps an organization to optimize current business processes and future organizational and its operational changes. 7. What are the goals in BPM models? i. Efficiently align the organization with the customers wants and needs. ii. Improve the process optimization by Defining Measuring Improving

14 8. List out the types of derived business services. Business services are derived from the following sources i. Task-centric business services ii. Entity-centric business services 9. List out the types of logic suitable for orchestration layer. i. Business rules ii. Conditional logic iii. Exception logic iv. Sequence logic 10. What is the use of service candidates? The service candidate is used to distinguish a conceptualized service from an actual implemented service. 11. What is the key service orientation principles applied to the service candidate? i. Reusability ii. Autonomy iii. Statelessness iv. Discoverability 12. What is service oriented design? Service oriented design phase is a process that transforms previously modeled service candidates into physical service designs. 13. Give the overall goals for performing a service oriented design. The overall goals of performing a service oriented design are as follows: i. Determine the core set of architectural extensions. ii. Set the boundaries of the architecture. iii. Identify required design standards. iv. Define abstract service interface designs. v. Identify potential service compositions. vi. Assess support for service orientation principles. vii. Explore support for characteristics of contemporary SOA. 14. List out the elements in the WSDL document structure. Element <types> <message> <porttype> <binding> <service> Defines The data types used by the web service The messages used by the web service The operations performed by the web service The communication protocols used by the web service The service location used by the web service

15 15. What does abstract definition contain? The abstract definition contains a series of parts that include i. Types ii. Message iii. Port type (or interface) 16. What does concrete definition comprised of? The concrete definition is comprised of i. Binding parts ii. Service parts 17. Define the definition element? The definition element is the root element in WSDL. It defines the name of the web service and specifies the namespace that would be used in the WSDL document. 18. Describe the message element. The <message> element describes the data being exchanged between the web service providers and consumers. The <message> element assigns the message a name and contains one or more part child elements that each are assigned a type. 19. Define the binding element. The binding element begins the concrete portion of the service definition, to assign a communications protocol that can be used to access and interact with the WSDL. The binding construct contains one or more operation elements. 20. What does the style attribute of soap:binding element define? The style attribute of the soap:binding element defines whether the SOAP messages used to support an operation are to be formatted. 21. List out the format supported by the style attribute of the soap:binding element. i. Document style messages ii. RPC style messages 22. What does the soap :body element define? The soap:body element defines the data type system to be used SOAP processors, via the use attribute. The use attribute can be set to encoding or literal. 23. What is the use of import element? The import element is used to import parts of the WSDL definition as well as XSD schemas.

16 24. What is the use of the documentation element? The documentation element is used to add descriptive, human-readable annotations within a WSDL definition. 25. What is SOAP? SOAP is an XML-based messaging protocol. It defines a set of rules for structuring messages that can be used for simple one-way messaging but is particularly useful for performing RPC-style (Remote Procedure Call) request-response dialogues. 26. Give the structure of a SOAP message. A SOAP message is encoded as an XML document consisting of an <Envelope> element, which contains o an optional <Header> element, and o a mandatory <Body> element. the <Fault> element, contained with in the <Body> is used for reporting errors. 27. What is the Envelope element? The SOAP <Envelope> is the root element in every SOAP message, and contains two child elements i. an optional <Header> ii. a mandatory <Body> 28. What is the use of Header element? The SOAP <Header> is used to pass application related information that is to be processed by SOAP nodes along the massage path. 29. Give the skeleton for the Envelope element? The root Envelope constructs hosting Header and Body constructs. <Envelope xmlns= http://schemas.xmlsoap/soap/envelope/ > <Header>...</Header> <Body>...</Body> </Envelope> 30. What is the Fault element? The SOAP <Fault> is a sub-element of the SOAP body, which i used for reporting errors. It is used to carry error and status information within a SOAP message. 31. Write down the steps for composing SOA. Step 1: Choose service layers Step 2: Position core standards Step 3: Choose SOA extensions

17 32. What are the steps needed to design the Entity-centric business service? Step 1: Review existing services Step 2: Define the message schema types Step 3: Derive an abstract service interface Step 4: Apply principles of service orientation Step 5: Standardize and refine the service interface Step 6: Extend the service design Step 7: Identify required processing 33. List out the SOA principles supported by Application service design. i. Reusability ii. Autonomy iii. Statelessness iv. Discoverability 34. Write down the steps for Task-centric business service design. Step 1: Define workflow logic Step 2: Derive initial interface Step 3: Apply principles of service orientation Step 4: Standardize service interface Step 5: Identify required processing

18 UNIT IV 1. Draw the fundamental software technology architecture layers. Software Program APIs Runtime Operating System 2. Give the architecture components of J2EE to SOA. i. Java Server Pages (JSPs) ii. Struts iii. Java Servlets iv. Enterprise JavaBeans (EJBs) 3. What is JAX-WS? JAX-WS is a technology for building web services using XML. In JAX-WS, a web service operation invocation is represented by an XML-based protocol such as SOAP. 4. Expand SEI. SEI stands for Service Endpoint Interface or Service Endpoint Implementation 5. What is SEI? SEI is a java interface or class that declares the methods that a client can invoke on the service. 6. Expand JAXB and JAXR. JAXB stands for Java Architecture for XML Binding (JAXB) JAXR stands for Java API for XML Registries (JAXR)

19 7. What is JAXB? Java Architecture for XML binding API (JAXB) provides a means of generating Java classes from XSD schemas and further abstracting XML-level development. 8. Give the general steps to use the JAXB API. The general steps to use the JAXB API are: i. Bind the schema ii. Unmarshal iii. Marshal 9. What are the steps needed to bind the schema? Step 1: Generate classes Step 2: Compile classes 10. What are the steps needed to unmarshal the schema? Step 1: Generate content tree Step 2: Validate (optional) Step 3: Process the content 11. Write down the advantages of JAXB. It simplifies access to an XML document form a Java program. It uses memory efficiently. It is flexible. It allows transportation from one XML document to another. 12. What is JAXR? The Java API for XML Registries (JAXR) provides a uniform and standard Java API for accessing various kinds of XML registries. 13. What are the components of JAXR? i. JAXR client ii. JAXR provider 14. Write down the packages that are implemented by JAXR. i. javax.xml.registry ii. javax.xml.registry.infomodel 15. What are the tasks involved in managing registry data? i. Getting authorization from the registry ii. Creating an organization iii. Adding classifications

20 iv. Adding services and service binding to an organization v. Publishing a specification concept vi. Removing data from the registry 16. Expand JAX-RPC and WSIT. JAX-RPC stands for Java API for XML based RPC. WSIT stands for Web Services Interoperability Technologies. 17. What is the use of JAX-RPC? JAX-RPC is used for building and deploying SOAP+WSDL web services clients and endpoints. It enables clients to invoke web services developed across heterogeneous platforms. 18. What are the benefits of JAX-RPC? i. Portable and interoperable web services ii. Ease of development of web service endpoints and clients iii. Increased developer productivity iv. Support for open standards: XML, SOAP, WSDL v. Standard API developed under Java Community Process (JCP) vi. Support for tools vii. RPC programming model with support for attachments viii. Support for SOAP message processing model and extensions ix. Secure web services x. Extensible type mapping 19. Distinguish between WS-I and WSIT. WSIT (Web Services Interoperability Technology) Goal An open source product-quality implementation of key enterprise web services technologies commonly known as WS-* Focus Interoperability between Metro (where WSIT is a key component) and Microsoft.NET 3.0 framework WS-I An industry organization to promote web services interoperability across platforms, operating systems and programming languages Vendor-neutral and produce profiles that contains clarifications on exiting specifications to promote interoperability 20. Expand CLS and CLR. CLS Common Language Specification CLR Common Language Runtime

21 21. What is Common Language Runtime? The Common Language Runtime (CLR) is an execution environment. It works as a layer between operating systems and te applications written in.net languages that conforms to the Common Language Specification (CLS). 22. Give the features of CLR. Manages memory o Allocation of memory o De-allocation of memory (garbage collection) Thread execution support Code execution Code safety verification Compilation 23. What are three types of controls in asp.net? i. HTML controls ii. HTML Server controls iii. Web Server controls 24. Give the benefits of WSE. i. To build a wide range of application and infrastructure ii. Flexibility iii. Allows quick implementation iv. Code the low-level XML details

22 1. Expand WS-BPEL. UNIT V WS-BPEL stands for Web Services Business Process Execution Language. 2. What is WS-BPEL? WS-BPEL is an XML based language (ie., it is described by a grammar) enabling users to describe business process activities as Web Services and define how they can be connected to accomplish specific tasks. 3. Draw the WS-BPEL family tree. WSDL XML WSFL (IBM 2001) XLANG (Microsoft 2001) SAP and Siebel Systems + BPEL4WS 1.0 + BEA Systems BPEL4WS 1.1 BPEL4WS 2.0 (current standard) 4. What is the process element? An <process> element is the root element and must have a name attribute for assigning the name value. It is used to establish the process definition related namespace. 5. What does the partnerlink element define? The partnetlink define the services that are orchestrated by the process. It contain a set of <partnerlink> element each represent the communication exchange between two partners ie., the process service being one partner and another service being the other. 6. What are the attributes in the partnerlink element? myrole partnerrole

23 7. What is the use of myrole attribute? i. Used when the process service is invoked by a partner client service. ii. Process service acts as the service provider. 8. What is the use of partnerrole attribute? i. Identifies the partner service that the process service will be invoking ii. Partner service acts as the service provider 9. What is the use of the partnerlinktype elements? The partnerlinktype elements are used to identify the WSDL porttype elements referenced by the partnerlink elements within the process definition. 10. What does the variables element hold? Varables hold the data that constitute the state of a BPEL business process during runtime. 11. List out the attributes of the variables element? MessageType Element Type 12. What is the getvariableproperty function? The getvariableproperty function allows global property values to be retrieved from variables. It simply accepts the variable and property names as input and returns the requested value. 13. Give the syntax for getvariableproperty function. Syntax: getvariableproperty(variable name, property name) Example getvariableproperty( TicketApproval, class ) 14. What is the getvariabledata function? The gatvariabledata function has a mandatory variable name parameter and two optional arguments that can be used to specify a part of the variable data. 15. Give the syntax for getvariabledata function. Syntax getvariabledata(variable name, part name, location path)

24 Example getvariabledata( input, payload, /tns:timesheettype/hours/... ) 16. What is the use of invoke element? The <invoke> activity is used to invoke the web service operations provided by partners. 17. What are five common attributes equipped with invoke element? i. partnerlink ii. porttype iii. operation iv. inputvariable v. outputvariable 18. What is the use of the receive element? A <receive> activity is used to receive requests in a BPEL business process to provide services to its partners. The process block until the message is received. 19. What is the reply element? A <reply> activity is used to send a response to a request previously accepted through a <receive> activity. Responses are used for synchronous request / reply interactions. 20. What is the purpose of the sequence element? The sequence construct is to organize a series of activities so that they are executed in a predefined, sequential order, nesting of sequence is allowed. 21. Give the structure of sequence element. <sequence> <receive>...</receive> <assign>...</assign> <invoke>...</invoke> <reply>...</reply> </sequence> 22. Write down the syntax for switch case and otherwise element. <switch> <case condition= getvariabledata( EmployeeResponseMessage, ResponseParameter )=0 >... </case> <otherwise>... </otherwise> </switch>

25 23. What is the use of assign activity? The <assign> activity is used to: Copy data from one variable to another Construct and insert new data using expressions and literal values Copy partner link endpoint references 24. Define fault handlers. Fault handlers are used to react to faults that occur while the business process activities are executing. The faulthandlers construct contain multiple catch element and a catchall child constructs. 25. What is catch element? The <catch> activity is used to specify faults that are to be caught and handled. At least one <catch> activity needs to be specified. 26. What is CatchAll element? The <catchall> activity is used to catch all faults. It is optional. 27. Give the overview of WS-Coordination. WS-Coordination is a framework for coordinating distributed activities Coordinator Activation service for creating coordination instance Registration service for registering participating application Additional protocol specific service Set of coordination protocols 28. What is the use of CoordinationContext element? The CoordiantionContext is used to carry information about active coordination to participants Information inside context is coordination protocol specific Context format is not mandated by the standard Typically passed is SOAP headers 29. What is WS-choreography? Web service choreography (WS-Choreography) is a XML based business process modeling language that describes collaboration protocols of cooperating web service participants, in which services act as peers, and interactions my be long lived and stateful. 30. How will you define the participant in WS-Choreography? <participanttype name= Buyer > <description type= documentation > Buyer Participant

26 </description> <roletype typeref= tns:buyerrole /> </partcipanttype> 31. How will you declare the relationship between the roles in WS-Choreography? <relationshiptype name= ncname > <role type= qname behavior= list of ncname?/> <role type= qname behavior= list of ncname?/> </relationshiptype> 32. What are channels? Channels are the principle mechanism used to realize an interaction. A channel is named, described, and then related to the roles that realize its behavioral interface. A reference is provided to a service. The channel type will have the capability to derive its identity when in use. 33. What is WS-Policy? WS-Policy defines a framework for allowing web services to express their constraints and requirements in relation to security, processing, or message content. 34. What is the goal of WS-Policy? WS-Policy provides the mechanisms needed to enable web services application to specify policies. 35. Give the specifications of WS-Policy framework. The WS-Policy framework is comprised of the following three specifications: WS-Policy WS-PolicyAssertions WS-PolicyAttachments 36. What is WS-Security? WS-Security is known as Web Services Security is a flexible extensible framework to SOAP to apply security to web services. 37. Why is WS-Security needed? The WS-Security is used to implement Message-level security measures Protect message contents during transport and during processing by service intermediaries. Authentication and authorization control Protect service provides from malicious requestors.

27 38. Give the specifications of WS-Security framework. The WS-Security framework is comprised of the following specifications: WS-Security XML-Encryption XML-Signature 39. Give the syntax of WS-Security element. <Envelope> <Header>... <wsse:security actor=... mustunderstand=... >... </wsse:security> </Header> <Body>... </Body> </Envelope> 40. What does XML-Signature elements provide? The XML-Signature elements provides message integrity and authentication information about the originator of the message. 41. Give the basic structure of the XML signature. <Signature> <SignedInfo> <CanonicalizationMethod /> <SignatureMethod /> <Reference> <Transforms> <DigestMethod> <DigestValue> </Reference> <Reference /> </SignedInfo> <SignatureValue/> <KeyInfo/> <Object/> </Signature>