Which of the following two options enable addressing feature for proxy for the StockQuoteProvider SEI ? (Choose two)

Given stock quote web service endpoint:

and the corresponding client side artifacts for the above web service are :

StockQuoteService is the Service class and StockQuoteProvider is the corresponding SEI.

Which of the following two options enable addressing feature for proxy for the StockQuoteProvider SEI ? (Choose two)

Given stock quote web service endpoint:

and the corresponding client side artifacts for the above web service are :

StockQuoteService is the Service class and StockQuoteProvider is the corresponding SEI.

Which of the following two options enable addressing feature for proxy for the StockQuoteProvider SEI ? (Choose two)

A.
proxy = new StockQuoteService().getStockQuoteProvider()

B.
proxy = new StockQuoteService().getStockQuoteProvider(new AddressingFeature())

C.
proxy = new StockQuoteService().getStockQuoteProvider(new AddressingFeature(false))

D.
proxy = new StockQuoteService().getStockQuoteProvider(new AddressingFeature(false, true))



Leave a Reply 4

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


giuseppe

giuseppe

The class the is pointed out should produce a SockQuoteService SEI, so why this class is used as if it was a Service class?

Why answer a is correct?

Thank you in advance

Aneesh

Aneesh

B is correct….Which other option is correct? D?

Mohamed Fayek Saber

Mohamed Fayek Saber

D is not correct because

Mohamed Fayek Saber

Mohamed Fayek Saber

http://www.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.nd.doc/ae/twbs_wsa_dep_jaxws_feat.html

Table 1. Parameters for the addressing features. The table lists the different addressing feature parameters as well as their possible values and a description of each one.
Parameter name Possible values Description

Description : Whether WS-Addressing support is enabled.
Parameter name : enabled
Possible values :
true (default)
false

Description : Whether WS-Addressing headers are required.
Parameter name : required
Possible values :
true
false (default)