Our system requires adding some header information in the SOAP message. So how does this be implemented by JAX-WS. I know one way to achieve this is adding
@WebParam(name = "login", header = true),
but this solution is not what we want. We want one solution which doesn't need to change the endpoint interface.
Asked
Active
Viewed 405 times
0

Chris
- 6,431
- 10
- 44
- 59
-
Do you need to consume a webservice as a client or implement a web service? – Yuriy Nakonechnyy May 22 '12 at 12:01
1 Answers
3
You would need to write an interceptor which will implement SOAPHandler to intercept the request.

yousafsajjad
- 973
- 2
- 18
- 34