S90-02A · Question #74
A WS-Policy definition can be attached to different parts of a __________________ or to multiple __________________. Select the correct answer.
The correct answer is B. service contract, service contracts. Option B is correct because WS-Policy is a W3C specification designed to express the capabilities and requirements of web services, and its natural attachment point is the service contract - typically represented as a WSDL document. A WS-Policy assertion can be applied to…
Question
A WS-Policy definition can be attached to different parts of a __________________ or to multiple __________________. Select the correct answer.
Options
- Aservice activity, service activities
- Bservice contract, service contracts
- Cservice model, service models
- Dservice line, service lines
How the community answered
(32 responses)- A6% (2)
- B88% (28)
- C3% (1)
- D3% (1)
Explanation
Option B is correct because WS-Policy is a W3C specification designed to express the capabilities and requirements of web services, and its natural attachment point is the service contract - typically represented as a WSDL document. A WS-Policy assertion can be applied to different structural parts of a single WSDL (such as the binding, operation, or message elements), or the same policy can be referenced across multiple WSDL service contracts.
Why the distractors are wrong:
- A (service activity): Not a recognized WS-* or SOA architectural term in this context; "activity" belongs to process/workflow modeling (e.g., BPEL), not policy attachment.
- C (service model): Too abstract - the service model describes the overall design, not the concrete artifact policies are physically attached to.
- D (service line): A business/product portfolio concept, completely outside the WS-Policy specification's scope.
Memory tip: Think "Policy on the Contract" - just like a legal policy rider attaches to specific clauses of a contract or applies across multiple contracts, WS-Policy attaches to parts of a service contract (WSDL) or spans multiple service contracts. The word "contract" is the key anchor in both law and web services.
Topics
Community Discussion
No community discussion yet for this question.