Hi guys, solution was simple. As soon as I read, that cxf is streaming based I understood the cause of problem. One of the functionality, which my client is providing is that the user can see SOAP conversation as a part of invocation result. So I had special SOAPHandler which before JAXB demarschalling had dumped messages to provide later that conversation. What I changed - I added lazy dumping, so it will normally take place after JAXB demarschalling. Only difference which I have richt now to Metro is that in dumped message all attachments are empty. But it is not that bad. Because normally you are interrested in SOAP itself.
Anyway thank you for attention.
I seem to have the same problem and no solution so far.
I'm running JBoss EAP 6.1.0 Final (== JBoss AS 7.2 Final) with JBossWS 4.1.3
The annotation of the data is:
public DataHandler data;
If the handler is active, the SOAP dump contains the reference, but no data:
<xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:email@example.com"/>
However, if the handler is NOT active, the result is the same - no data.
So, any insight would be greatly appreciated.