Solved

I Would Like to Add Two Different WS-Policy Definitions to My

Question 37

Multiple Choice

I would like to add two different WS-Policy definitions to my SOAP-based Web service and I would like to give the service consumer the choice to comply to either policy. How can I do this?


A) Create a separate XML schema for each policy and attach both XML schemas to the service's WSDL definition.
B) Create the two separate policies and group them in a policy alternative that is then associated with the service's WSDL definition.
C) Communicate each policy through a separate WS-Addressing SOAP header and let the service consumer choose which header to use.
D) You cannot do this.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents