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
m Regards, Varun SINGHAL From: Varun Singhal Sent: Tuesday, March 5, 2019 12:09:24 AM To: users@cxf.apache.org<mailto:users@cxf.apache.org> Subject: [Reading CXF message content] What is CachedOutputStream's primary purpose and how its different than Deleg

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

2019-03-05 Thread Daniel Kulp
sday, March 5, 2019 12:09:24 AM > To: users@cxf.apache.org > Subject: [Reading CXF message content] What is CachedOutputStream's primary > purpose and how its different than DelegatingInputStream ? > > Hi all, > > Greetings ! > > I have designed a interceptor th

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

2019-03-05 Thread Varun Singhal
: [Reading CXF message content] What is CachedOutputStream's primary purpose and how its different than DelegatingInputStream ? Hi all, Greetings ! I have designed a interceptor that runs in RECEIVE phase and takes a decision whether to modify the header of an incoming SOAP request OR not. It does so

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

2019-03-04 Thread Varun Singhal
Hi all, Greetings ! I have designed a interceptor that runs in RECEIVE phase and takes a decision whether to modify the header of an incoming SOAP request OR not. It does so by reading the message's contents and parsing it into a XML document instance. Here is the code: //get message