Question: cxf how to add soap header?
Answer: Here's how to do it in CXF proprietary way: // Create a list of SOAP headers List<Header> headersList = new ArrayList<Header>(); Header testHeader = new Header(new QName("uri:singz. ws.