SlideShare une entreprise Scribd logo
1  sur  21
Web Services (15XW92)
Assignment Presentation
Done by:
Prashanth Selvam A, 16PW27
M.Sc. Software Systems (5th Yr),
PSG College of Technology,
Coimbatore – 04
Topic: Web Services Agreement
Q. What is Web Services Agreement?
 A Web Services protocol for establishing agreement between two parties, such as between a
service provider and consumer.
 Uses an extensible XML language for specifying the nature of the agreement.
 Agreement templates to facilitate discovery of compatible agreement parties.
Web Services Agreement Specification
The specification consists of three parts which may be used in a
composable manner:
1. A schema for specifying an agreement.
2. A schema for specifying an agreement template.
3. A set of port types and operations for managing agreement life-cycle, which include
creation, expiration, and monitoring of agreement states.
WS Agreement – Objective and Goal
 The objective of the WS-Agreement specification is to define a language and a protocol
for advertising the capabilities of service providers and creating agreements based on
creational offers, and for monitoring agreement compliance at runtime.
 The goal of WS-Agreement is to standardize the terminology, concepts, overall
agreement structure with types of agreement terms, agreement template with creation
constraints and a set of port types and operations for creation, expiration and
monitoring of agreements, including WSDL needed to express the message exchanges
and resources needed to express the state.
Note: WS Agreement is also meant to be composable (coexist) with other Web services
specifications.
WS Agreement Requirements
In meeting the goals, the specification must address the following specific
requirements:
1. Must allow use of any service term.
2. Must allow creation of agreements for existing and new services.
3. Must allow use of any condition specification language.
4. Must provide symmetry of protocol.
5. Must be composable with various negotiation models.
6. Must be standalone.
7. Must allow independent use of different parts of the specification.
WS Agreement - Example Scenarios
WS-Agreement covers a wide range of application scenarios relating to the
establishment of an agreement between a service provider and a service
consumer.
1. Job submission
2. Advance reservation or pre-establishment of resource preferences
3. Service Parameterization
Note: In the examples we will assume that the service provider acts as the
agreement responder, and the service consumer as the agreement initiator.
Job submission Scenario
• Submission of a job to a batch processing system.
• The job submission process can be recast as agreement creation, where
each agreement represents the requirements and obligations for completing
one job.
• The job hosting service post an agreement template describing the range of
job offers it may accept.
• Job submitters make offers describing jobs to be run.
• The job hosting service has the opportunity to consider the job offer and
decide whether to accept or reject it.
Job submission Scenario – Contd.
The job agreement, agreement offer, and agreement template would all
include service definition terms expressed in an appropriate job description
language.
This language encodes the conventional details of the job such as the nature of
the process to be executed, the resources required for execution, and any
scheduling requirements such as job-start or job-completion deadlines.
Upon acceptance, the resulting agreement service may be used to monitor the
delivery of service required by these terms, e.g. the lifecycle of the actual job.
Layered Model
The model for the architecture of WS-Agreement based system interfaces have
two layers:
1. The agreement layer: It provides a Web service-based interface that can be used to
create, represent and monitor agreements with respect to provisioning of services
implemented in the service layer.
2. The service layer: It represents the application-specific layer of the service being
provided. The class of provided service MAY or MAY NOT be a Web service interface. The
interfaces in this layer are domain-specific, and need not be altered when the agreement
layer is introduced.
Layered Model – Contd.
Web Services Agreement Structure
WS Agreement Template and Creation
Constraints
To create an agreement, a client makes an offer to an agreement
factory. An agreement creation offer has the same structure as an
agreement. The agreement factory advertises the types of offers it
is willing to accept by means of agreement templates.
Creation constraint section is a section with constraints on possible
values of terms for creating an agreement. The constraints make it
possible to specify the valid ranges or distinct values that the terms
may take.
WS Agreement Template Contents
Compliance of Offers with Templates
 An agreement offer is compliant with a template advertised by an agreement
responder if and only if each term of service described in the Terms section of the
agreement offer complies with the term constraints expressed in the
wsag:CreationConstraints section of the agreement template.
 The purpose of templates is to give guidance on what forms of offer an agreement
responder wishes to receive.
Runtime States
Agreements and Terms have a runtime state that can be monitored.
The objective of term status monitoring is to observe agreement
compliance at runtime.
There are ultimately three types of Runtime States and they are:
1. Agreement States
2. Service Runtime States
3. Guarantee States
Agreement States
Service Runtime States
Note: Not Ready, Ready and Completed are the normative primary states of a service description
term. Each state can be extended with one or more sub-states in a specific usage domain.
Processing and Idle are two normative sub-states of the primary state Ready.
Guarantee States
Note: NotDetermined is the initial state of a guarantee term, until a service is invoked or
fulfilled and assessment is made. Depending on the assessment the terminal state can be
either Fulfilled or Violated.
Security in WS Agreement
o The WS-Agreement specification does not explicitly address any security
considerations.
o Security issues can be addressed by blending with other security
implementations in the web services domain.
o Authenticate the participants in a WS Agreement-based interaction to insure
the identity of the initiator and responder of a WS-Agreement creation and
management session.
o Signing or authenticating a document based on the WS-Agreement schema.
References and Links
1. Web services agreement specification (WS-Agreement) by Asit Dan, Kate Keahey, Hans J W
M Ludwig and Jim Pruyne.
2. R. Chinnici, J.-J. Moreau, A. Ryman, S. Weerawarana: “Web Services Description Language
(WSDL) Version 2.0 Part 1: Core Language”, W3C Candidate Recommendation, W3C, 6
January, 2006.
3. A. Nadalin, C. Kaler, P. Hallam-Baker, R. Monzillo: "Web Services Security: SOAP Message
Security 1.0 (WS-Security 2004)", OASIS Standard 200401, OASIS, March 2004.
4. Link - https://www.researchgate.net/publication/238681058
5. Link - https://aws.amazon.com/agreement/
Thank You!

Contenu connexe

Similaire à Web Services Agreement Specification

Service Oriented Architecture
Service Oriented ArchitectureService Oriented Architecture
Service Oriented ArchitectureSandeep Ganji
 
6 software contracts
6 software contracts6 software contracts
6 software contractsSaqib Raza
 
Micro-service delivery - without the pitfalls
Micro-service delivery - without the pitfallsMicro-service delivery - without the pitfalls
Micro-service delivery - without the pitfallsSeb Rose
 
Five ways to develop a successful outsourcing contract
Five ways to develop a successful outsourcing contractFive ways to develop a successful outsourcing contract
Five ways to develop a successful outsourcing contractWGroup
 
Determine Maintenance Strategy LO21.pptx
Determine Maintenance Strategy LO21.pptxDetermine Maintenance Strategy LO21.pptx
Determine Maintenance Strategy LO21.pptxaytenewbelay1
 
Study on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture DevelopmentStudy on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture Developmentijcnes
 
Whitepaper : Testing Micro Services Part I & Part 2
Whitepaper : Testing Micro Services Part I & Part 2Whitepaper : Testing Micro Services Part I & Part 2
Whitepaper : Testing Micro Services Part I & Part 2Newt Global Consulting LLC
 
Open Service Federation Framework
Open Service Federation FrameworkOpen Service Federation Framework
Open Service Federation FrameworkWSO2
 
Evaluating Contract Compatibility for Service Composition in The SeCO2 Framework
Evaluating Contract Compatibility for Service Composition in The SeCO2 FrameworkEvaluating Contract Compatibility for Service Composition in The SeCO2 Framework
Evaluating Contract Compatibility for Service Composition in The SeCO2 FrameworkHong-Linh Truong
 
Core_Services_White Papers Oracle Service PUR.pdf
Core_Services_White Papers Oracle Service PUR.pdfCore_Services_White Papers Oracle Service PUR.pdf
Core_Services_White Papers Oracle Service PUR.pdfTarigTaha3
 
Study on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture DevelopmentStudy on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture Developmentijbuiiir1
 
Why Coordination And Transactions Are Key To Building An Operational Soa
Why Coordination And Transactions Are Key To Building An Operational SoaWhy Coordination And Transactions Are Key To Building An Operational Soa
Why Coordination And Transactions Are Key To Building An Operational SoaDavid Linthicum
 
Study on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture DevelopmentStudy on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture Developmentijwtiir
 
Formal Specification of QoS Negotiation in ODP System
Formal Specification of QoS Negotiation in ODP System Formal Specification of QoS Negotiation in ODP System
Formal Specification of QoS Negotiation in ODP System IJECEIAES
 
Contract Testing
Contract TestingContract Testing
Contract Testingkloia
 

Similaire à Web Services Agreement Specification (20)

Contract Versioning
Contract VersioningContract Versioning
Contract Versioning
 
Service Oriented Architecture
Service Oriented ArchitectureService Oriented Architecture
Service Oriented Architecture
 
6 software contracts
6 software contracts6 software contracts
6 software contracts
 
Micro-service delivery - without the pitfalls
Micro-service delivery - without the pitfallsMicro-service delivery - without the pitfalls
Micro-service delivery - without the pitfalls
 
Five ways to develop a successful outsourcing contract
Five ways to develop a successful outsourcing contractFive ways to develop a successful outsourcing contract
Five ways to develop a successful outsourcing contract
 
Cloud sla
Cloud slaCloud sla
Cloud sla
 
Determine Maintenance Strategy LO21.pptx
Determine Maintenance Strategy LO21.pptxDetermine Maintenance Strategy LO21.pptx
Determine Maintenance Strategy LO21.pptx
 
Study on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture DevelopmentStudy on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture Development
 
Bkozlowski wpa
Bkozlowski wpaBkozlowski wpa
Bkozlowski wpa
 
Whitepaper : Testing Micro Services Part I & Part 2
Whitepaper : Testing Micro Services Part I & Part 2Whitepaper : Testing Micro Services Part I & Part 2
Whitepaper : Testing Micro Services Part I & Part 2
 
Open Service Federation Framework
Open Service Federation FrameworkOpen Service Federation Framework
Open Service Federation Framework
 
Evaluating Contract Compatibility for Service Composition in The SeCO2 Framework
Evaluating Contract Compatibility for Service Composition in The SeCO2 FrameworkEvaluating Contract Compatibility for Service Composition in The SeCO2 Framework
Evaluating Contract Compatibility for Service Composition in The SeCO2 Framework
 
Core_Services_White Papers Oracle Service PUR.pdf
Core_Services_White Papers Oracle Service PUR.pdfCore_Services_White Papers Oracle Service PUR.pdf
Core_Services_White Papers Oracle Service PUR.pdf
 
Study on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture DevelopmentStudy on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture Development
 
Why Coordination And Transactions Are Key To Building An Operational Soa
Why Coordination And Transactions Are Key To Building An Operational SoaWhy Coordination And Transactions Are Key To Building An Operational Soa
Why Coordination And Transactions Are Key To Building An Operational Soa
 
Study on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture DevelopmentStudy on Use Case Model for Service Oriented Architecture Development
Study on Use Case Model for Service Oriented Architecture Development
 
Formal Specification of QoS Negotiation in ODP System
Formal Specification of QoS Negotiation in ODP System Formal Specification of QoS Negotiation in ODP System
Formal Specification of QoS Negotiation in ODP System
 
SOA Principles : 4.service loose coupling
SOA Principles : 4.service loose couplingSOA Principles : 4.service loose coupling
SOA Principles : 4.service loose coupling
 
Contract Testing
Contract TestingContract Testing
Contract Testing
 
Cloud manager client provisioning guideline draft 1.0
Cloud manager client provisioning guideline draft 1.0Cloud manager client provisioning guideline draft 1.0
Cloud manager client provisioning guideline draft 1.0
 

Dernier

Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 

Dernier (20)

Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 

Web Services Agreement Specification

  • 1. Web Services (15XW92) Assignment Presentation Done by: Prashanth Selvam A, 16PW27 M.Sc. Software Systems (5th Yr), PSG College of Technology, Coimbatore – 04
  • 2. Topic: Web Services Agreement Q. What is Web Services Agreement?  A Web Services protocol for establishing agreement between two parties, such as between a service provider and consumer.  Uses an extensible XML language for specifying the nature of the agreement.  Agreement templates to facilitate discovery of compatible agreement parties.
  • 3. Web Services Agreement Specification The specification consists of three parts which may be used in a composable manner: 1. A schema for specifying an agreement. 2. A schema for specifying an agreement template. 3. A set of port types and operations for managing agreement life-cycle, which include creation, expiration, and monitoring of agreement states.
  • 4. WS Agreement – Objective and Goal  The objective of the WS-Agreement specification is to define a language and a protocol for advertising the capabilities of service providers and creating agreements based on creational offers, and for monitoring agreement compliance at runtime.  The goal of WS-Agreement is to standardize the terminology, concepts, overall agreement structure with types of agreement terms, agreement template with creation constraints and a set of port types and operations for creation, expiration and monitoring of agreements, including WSDL needed to express the message exchanges and resources needed to express the state. Note: WS Agreement is also meant to be composable (coexist) with other Web services specifications.
  • 5. WS Agreement Requirements In meeting the goals, the specification must address the following specific requirements: 1. Must allow use of any service term. 2. Must allow creation of agreements for existing and new services. 3. Must allow use of any condition specification language. 4. Must provide symmetry of protocol. 5. Must be composable with various negotiation models. 6. Must be standalone. 7. Must allow independent use of different parts of the specification.
  • 6. WS Agreement - Example Scenarios WS-Agreement covers a wide range of application scenarios relating to the establishment of an agreement between a service provider and a service consumer. 1. Job submission 2. Advance reservation or pre-establishment of resource preferences 3. Service Parameterization Note: In the examples we will assume that the service provider acts as the agreement responder, and the service consumer as the agreement initiator.
  • 7. Job submission Scenario • Submission of a job to a batch processing system. • The job submission process can be recast as agreement creation, where each agreement represents the requirements and obligations for completing one job. • The job hosting service post an agreement template describing the range of job offers it may accept. • Job submitters make offers describing jobs to be run. • The job hosting service has the opportunity to consider the job offer and decide whether to accept or reject it.
  • 8. Job submission Scenario – Contd. The job agreement, agreement offer, and agreement template would all include service definition terms expressed in an appropriate job description language. This language encodes the conventional details of the job such as the nature of the process to be executed, the resources required for execution, and any scheduling requirements such as job-start or job-completion deadlines. Upon acceptance, the resulting agreement service may be used to monitor the delivery of service required by these terms, e.g. the lifecycle of the actual job.
  • 9. Layered Model The model for the architecture of WS-Agreement based system interfaces have two layers: 1. The agreement layer: It provides a Web service-based interface that can be used to create, represent and monitor agreements with respect to provisioning of services implemented in the service layer. 2. The service layer: It represents the application-specific layer of the service being provided. The class of provided service MAY or MAY NOT be a Web service interface. The interfaces in this layer are domain-specific, and need not be altered when the agreement layer is introduced.
  • 12. WS Agreement Template and Creation Constraints To create an agreement, a client makes an offer to an agreement factory. An agreement creation offer has the same structure as an agreement. The agreement factory advertises the types of offers it is willing to accept by means of agreement templates. Creation constraint section is a section with constraints on possible values of terms for creating an agreement. The constraints make it possible to specify the valid ranges or distinct values that the terms may take.
  • 14. Compliance of Offers with Templates  An agreement offer is compliant with a template advertised by an agreement responder if and only if each term of service described in the Terms section of the agreement offer complies with the term constraints expressed in the wsag:CreationConstraints section of the agreement template.  The purpose of templates is to give guidance on what forms of offer an agreement responder wishes to receive.
  • 15. Runtime States Agreements and Terms have a runtime state that can be monitored. The objective of term status monitoring is to observe agreement compliance at runtime. There are ultimately three types of Runtime States and they are: 1. Agreement States 2. Service Runtime States 3. Guarantee States
  • 17. Service Runtime States Note: Not Ready, Ready and Completed are the normative primary states of a service description term. Each state can be extended with one or more sub-states in a specific usage domain. Processing and Idle are two normative sub-states of the primary state Ready.
  • 18. Guarantee States Note: NotDetermined is the initial state of a guarantee term, until a service is invoked or fulfilled and assessment is made. Depending on the assessment the terminal state can be either Fulfilled or Violated.
  • 19. Security in WS Agreement o The WS-Agreement specification does not explicitly address any security considerations. o Security issues can be addressed by blending with other security implementations in the web services domain. o Authenticate the participants in a WS Agreement-based interaction to insure the identity of the initiator and responder of a WS-Agreement creation and management session. o Signing or authenticating a document based on the WS-Agreement schema.
  • 20. References and Links 1. Web services agreement specification (WS-Agreement) by Asit Dan, Kate Keahey, Hans J W M Ludwig and Jim Pruyne. 2. R. Chinnici, J.-J. Moreau, A. Ryman, S. Weerawarana: “Web Services Description Language (WSDL) Version 2.0 Part 1: Core Language”, W3C Candidate Recommendation, W3C, 6 January, 2006. 3. A. Nadalin, C. Kaler, P. Hallam-Baker, R. Monzillo: "Web Services Security: SOAP Message Security 1.0 (WS-Security 2004)", OASIS Standard 200401, OASIS, March 2004. 4. Link - https://www.researchgate.net/publication/238681058 5. Link - https://aws.amazon.com/agreement/