Question ID 4466 | If you are developing a Web Service starting from WSDL 1.1, how would you declare in wsdl that the Web Service requires the use of Addressing in a standard and interoperable way.
|
Option A | A. Declare a policy as
<wsp:Policy>
<wsam:Addressing wsp:Optional="true">
<wsp:Policy/>
</wsam:Addressing>
</wsp:Policy>
and attach it the corresponding wsdl:portType so that it applies to all the wsdl:operations in its
scope.
|
Option B | B. Declare a policy as
<wsp:Policy>
<wsam:Addressing wsp:Optional="true">
<wsp:Policy/>
</wsam:Addressing>
</wsp:Policy>
and attach it the corresponding wsdl:binding so that it applies to all the wsdl:operations in its
scope.
|
Option C | C. Declare a policy as
<wsp:Policy>
<wsam:Addressing>
<wsp:Policy/>
</wsam:Addressing>
</wsp:Policy>
and attach it the corresponding wsdl:binding so that it applies to all the wsdl:operations in its
scope.
|
Option D | D. Declare a policy as
<wsp:Policy>
<wsam:Addressing>
<wsp:Policy/>
</wsam:Addressing>
</wsp:Policy>
and attach it the corresponding wsdl:service so that it applies to all the wsdl:ports in the service
scope.
|
Correct Answer | C |
Question ID 4467 | In the following situation, Client C sends a SOAP request to Service S and the response is to be processed by a third party response processor R. Which of the following SOAP headers in the request message convey the intention? Assume the endpoint reference of Service S is
|
Option A | A. <s11:Header>
<wsa:Action>http://example.com/action/process</wsa:Action>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/none</wsa:Address> <wsa:ReplyTo>
</s11:Header>
|
Option B | B. <s11:Header>
<wsa:Action>http://example.com/action/process</wsa:Action>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> <wsa:ReplyTo>
</s11:Header>
|
Option C | C. <s11:Header>
<wsa:Action>http://example.com/action/process</wsa:Action>
<wsa:ReplyTo>
<wsa:Address>http://example.com/responseprocessor</wsa:Address> <wsa:ReplyTo>
</s11:Header>
|
Option D | D. <s11:Header>
<wsa:Action>http://example.com/action/process</wsa:Action>
<wsa:ReplyTo>
<wsa:Address>http://example.com/service</wsa:Address>
<wsa:ReplyTo> </s11:Header>
|
Correct Answer | C |