IBM
C2180-371 · Question #110
Which of the following are ways to add or customize an HTTP header to a Web service request in IBM Web Sphere Application ServerV7.0.
The correct answer is C. Use a JAX-WS Protocol Handler and get/set the HTTP headers from the JAX-WS Message E. Create a Hash Map containing the transport headers and set the Hash Map on the JAX-WS. See the full explanation below for the reasoning.
Question
Which of the following are ways to add or customize an HTTP header to a Web service request in IBM Web Sphere Application ServerV7.0.
Options
- ASpecify the values to be set on a policy set and attach the policy set to the client reference
- BUse a JAX-WS Logical Handler and get/set the HTTP headers from the
- CUse a JAX-WS Protocol Handler and get/set the HTTP headers from the JAX-WS Message
- DCreate a Hash Map containing the transport headers and set the Hash Map on theJAX-WS
- ECreate a Hash Map containing the transport headers and set the Hash Map on the JAX-WS
How the community answered
(51 responses)- A4% (2)
- B10% (5)
- C73% (37)
- D14% (7)
Community Discussion
No community discussion yet for this question.