Hi, I can't add information in SOAPHeader when I engage rampart and addressing module.
My header is the following: <soapenv:Header> <wsse:Security xmlns:wsse=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1"> <wsu:Timestamp xmlns:wsu=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-32653965"> <wsu:Created>2008-03-06T11:37:41.497Z</wsu:Created> <wsu:Expires>2008-03-06T11:42:41.497Z</wsu:Expires> </wsu:Timestamp> <wsse:UsernameToken xmlns:wsu=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="UsernameToken-11737724"> <wsse:Username>alice</wsse:Username> <wsse:Password Type=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText ">bobPW</wsse:Password> </wsse:UsernameToken> </wsse:Security> <content> <Attachment idAttachFile="$FILE{FileTestA.txt}" nameAttachFile=" FileTestA.txt"/> <Attachment idAttachFile="$FILE{FileTestB.txt}" nameAttachFile=" FileTestA.txt"/> </content> <wsa:To>http://localhost:8081/axis2/services/SWASampleService</wsa:To> <wsa:MessageID>urn:uuid:E23726932EDEB77EB81204803460112</wsa:MessageID> <wsa:Action>process</wsa:Action> </soapenv:Header> I receive the following exception in server side: java.lang.NullPointerException at org.apache.axiom.soap.impl.dom.SOAPHeaderImpl.getHeaderBlocksWithNSUR I(SOAPHeaderImpl.java:244) at org.apache.rampart.RampartEngine.process(RampartEngine.java:96) at org.apache.rampart.handler.RampartReceiver.invoke( RampartReceiver.jav a:85) at org.apache.axis2.engine.Phase.invoke(Phase.java:292) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:235) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:135) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq uest(HTTPTransportUtils.java:275) at org.apache.axis2.transport.http.AxisServlet.doPost( AxisServlet.java:1 21) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (Appl icationFilterChain.java:237) I don't know if it is possible and I would need to know if there is a way to do it. If I engage only addressing module this works. Thanks, Nuria
