1 <?xml version="1.0" encoding="UTF-8"?>
3 From http://serviceqos.wikispaces.com/WSAgExample
5 <wsag:Template xmlns:wsag="http://www.ggf.org/namespaces/ws-agreement" TemplateId="contract-template-2007-12-04">
6 <wsag:Name>ExampleTemplate</wsag:Name>
8 <wsag:AgreementInitiator>Provider</wsag:AgreementInitiator>
9 <wsag:ServiceProvider>AgreementInitiator</wsag:ServiceProvider>
10 <wsag:ExpirationTime>2013-12-15-1200</wsag:ExpirationTime>
11 <wsag:TemplateId>contract-template-2013-12-15</wsag:TemplateId>
15 <!-- functional description -->
16 <wsag:ServiceDescriptionTerm
18 wsag:ServiceName="Service0001">
20 </wsag:ServiceDescriptionTerm>
21 <wsag:ServiceDescriptionTerm
22 wsag:Name="GetCoordsOperation"
23 wsag:ServiceName="GPSService0001">
24 operation to call to get the coords
25 </wsag:ServiceDescriptionTerm>
26 <!-- domain specific reference to a service (additional or optional to SDT) -->
27 <wsag:ServiceReference
28 wsag:Name="CoordsRequest"
29 wsag:ServiceName="GPSService0001">
30 <wsag:EndpointReference>
31 <wsag:Address>http://www.gps.com/coordsservice/getcoords</wsag:Address>
32 <wsag:ServiceName>gps:CoordsRequest</wsag:ServiceName>
33 </wsag:EndpointReference>
34 </wsag:ServiceReference>
35 <!-- non-functional properties -->
36 <wsag:ServiceProperties
37 wsag:Name="AvailabilityProperties"
38 wsag:ServiceName="GPS0001">
41 wsag:Name="ResponseTime"
42 wsag:Metric="metric:Duration">
43 <wsag:Location>qos:ResponseTime</wsag:Location>
46 </wsag:ServiceProperties>
47 <wsag:ServiceProperties
48 wsag:Name="UsabilityProperties"
49 wsag:ServiceName="GPS0001">
52 wsag:Name="CoordDerivation"
53 wsag:Metric="metric:CoordDerivationMetric">
54 <wsag:Location>qos:CoordDerivation</wsag:Location>
57 </wsag:ServiceProperties>
58 <!-- statements to offered service level(s) -->
60 Name="FastReaction" Obligated="ServiceProvider">
61 <wsag:ServiceScope ServiceName="GPS0001">
62 http://www.gps.com/coordsservice/getcoords
64 <wsag:QualifyingCondition>
65 applied when current time in week working hours
66 </wsag:QualifyingCondition>
67 <wsag:ServiceLevelObjective>
69 <wsag:KPIName>FastResponseTime</wsag:KPIName>
71 //Variable/@Name="ResponseTime" LOWERTHAN 1 second
74 </wsag:ServiceLevelObjective>