Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0-M1
-
None
Description
Users should be able to access and modify soap headers in SOAPHandler:
public boolean handleMessage(SOAPMessageContext smc)
{ ......... SOAPMessage message = smc.getMessage(); SOAPHeader header = message.getSOAPHeader(); Name headerName = soapFactory.createName("Claim", "wsi", "http://ws-i.org/schemas/conformanceClaim/"); SOAPHeaderElement headerElement = header.addHeaderElement(headerName); headerElement.addAttribute(soapFactory.createName("conformsTo"), "http://ws-i.org/profiles/basic1.0/"); ........... }