Re: [Reading CXF message content] What is CachedOutputStream's primary purpose and how its different than DelegatingInputStream ?

2019-03-06 Thread Varun Singhal
To: users@cxf.apache.org; Varun Singhal Subject: Re: [Reading CXF message content] What is CachedOutputStream's primary purpose and how its different than DelegatingInputStream ? Comments inline….. > On Mar 6, 2019, at 2:30 AM, Varun Singhal wrote: > > Solution : > Examine

Re: [Reading CXF message content] What is CachedOutputStream's primary purpose and how its different than DelegatingInputStream ?

2019-03-06 Thread Daniel Kulp
Comments inline….. > On Mar 6, 2019, at 2:30 AM, Varun Singhal wrote: > > Solution : > Examine the request, if "" is absent add it in the headers ! > > Solution Implementation : > Add 2 interceptors to the IN interceptor chain. > First intereptor detects if a "" header is absent, if

Re: [Reading CXF message content] What is CachedOutputStream's primary purpose and how its different than DelegatingInputStream ?

2019-03-05 Thread Varun Singhal
2019 6:55 PM To: users@cxf.apache.org; Varun Singhal Subject: Re: [Reading CXF message content] What is CachedOutputStream's primary purpose and how its different than DelegatingInputStream ? Well, my first thought is that for what you are trying to do, you are doing it in a very in-efficient manner. :) F

Re: [Reading CXF message content] What is CachedOutputStream's primary purpose and how its different than DelegatingInputStream ?

2019-03-05 Thread Daniel Kulp
Well, my first thought is that for what you are trying to do, you are doing it in a very in-efficient manner. :) For the most part, you would be better off adding an interceptor to the beginning of the PRE_PROTOCOL phase. At that point, you could do: ((SoapMessage)message).getHeaders()

RE: [Reading CXF message content] What is CachedOutputStream's primary purpose and how its different than DelegatingInputStream ?

2019-03-05 Thread Varun Singhal
Hi guys, Can anyone advise on the below queries, please ? I really want to understand if my understanding is flawed ☹ Many thanks ! Warm Regards, Varun SINGHAL From: Varun Singhal Sent: Tuesday, March 5, 2019 12:09:24 AM To: users@cxf.apache.org Subject: