1, how would you declare in wsdl that the Web Service requires the use of Addressing in a standard and interoperable way

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.

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.

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.

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.

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.

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.



Leave a Reply 0

Your email address will not be published. Required fields are marked *