cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jervis Liu (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-205) read and modify soap headers from SOAPHandler
Date Mon, 06 Nov 2006 07:20:38 GMT
     [ http://issues.apache.org/jira/browse/CXF-205?page=all ]

Jervis Liu resolved CXF-205.
----------------------------

    Fix Version/s: 2.0-M1
       Resolution: Fixed

> read and modify soap headers from SOAPHandler
> ---------------------------------------------
>
>                 Key: CXF-205
>                 URL: http://issues.apache.org/jira/browse/CXF-205
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0-M1
>            Reporter: Jervis Liu
>         Assigned To: Jervis Liu
>             Fix For: 2.0-M1
>
>
> 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/");
	
>        ...........
>     }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message