By removing the following interceptors:

org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor$SAAJOutEndingInterceptor
org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor$SoapOutEndingInterceptor
org.apache.cxf.interceptor.StaxOutInterceptor$StaxOutEndingInterceptor

and writing my modified document directly to message.setContent(...) I was
able to avoid the StAX steps that seemed to alter my XML, causing the
digital signatures to fail.  Some of the changes seemed to be the addition
of soap:mustUnderstand and soap:actor attributes as well as the location of
namespaces within the document (whether the namespace was within a parent
element or the actual element itself).  

I actually ran the WS-Security piece that CXF was bundled with in hopes that
I could use that instead, but from the doc's I didn't see how to selectively
sign only certain elements.  Following the documentation I signed the entire
document.  

Could you point me to something that shows how to sign individual elements
(have more than one signature)?    

Thanks again!

-- 
View this message in context: 
http://www.nabble.com/Sending-the-SOAP-message-without-StAX...--Is-it-possible--tp19867367p19919824.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to