Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-205

read and modify soap headers from SOAPHandler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-M1
    • 2.0-M1
    • JAX-WS Runtime
    • 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/"); ........... }

      Attachments

        Activity

          People

            jliu Jervis Liu
            jliu Jervis Liu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: