4 Replies Latest reply on Nov 29, 2012 6:29 AM by Ranajit Jana

    Reading Object in the interceptor

    Ranajit Jana Newbie

      CXF interceptor phases starts with INBOUND and ends at POST invoke.

       

      I am able to read the  instream at the READ phase.

       

      I was under impression that In UNMARSHALL phase Message will have inbound object by JAXB unmarshalling. While the same is not true.

       

      I looked into built-in CXF interceptors to see in anyway we can pull the object but every where it is working on stream.

       

      the stream is surely passed to the method in INVOKE phase thus should be unmarshalled.

       

      Any example on web will help me.