Choose two options from the following that can be achieved by setting the standard BindingProvider properties on a SEI proxy: (Choose two)
A.
Configuring HTTP Basic Authentication credentials to access a service
B.
Validating against schema for outgoing client messages
C.
Adding additional SOAP headers for outgoing messages
D.
Specifying web service endpoint address for service invocations
1.WSDL
2.Java
RandServiceService service = new RandServiceService();
RandService port = service.getRandServicePort();
//To gain access to the transport level, in particular to the headers in the HTTPS request,
//the RandService Client casts the port reference to a BindingProvider
BindingProvider prov = (BindingProvider) port;
prov.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
endpoint);
prov.getRequestContext().put(BindingProvider.USERNAME_PROPERTY,
uname);
prov.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY,
passwd);
Answer is A and D..Right?
right