On Oct 25, 2012, at 12:26 PM, Crack_David <[email protected]> wrote:
> Yeah I managed adding my Response-Object to the Content of the > message-Object. > I did: > > message.setContent(response.getClass(), response); > message.getInterceptorChain().doInterceptStartingAt(message, "PRE_LOGICAL"); > > But after that the returned Object of invoke is still null. Where is the > problem? It needs to go into the MessageContentsList of the message. Something like: message.setContent(List.class, new Arrays.asList(response)) might also do it, but I'd recommend: MessageContentsList.getContentsList(msg).put(0, response); Dan > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Sending-return-value-from-Interceptor-back-to-client-tp5717416p5717444.html > Sent from the cxf-user mailing list archive at Nabble.com. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
