Hi Vivek, Ideally users can't cover all the use cases with fastXSLT. Only basic use cases can be covered. I guess this is one of those.
I'll add other ESB team members if they have a different opinion on this. On Mon, Feb 13, 2017 at 5:42 PM, Vivek Kumar <[email protected]> wrote: > Hi , > > I am able to parse response from a web service through *XSLT Mediator* > which has Content-Encoding as gzip(*Content-Encoding:gzip*) > > But when I parse the same response using *fastXSLT Mediator* I am > getting error like > > > > *[2017-02-13 17:22:42,255] ERROR - FastXSLTMediator Error while > transforming the Stream * > > *org.apache.axis2.AxisFault: Error while building Passthrough stream* > > * at > org.apache.synapse.transport.passthru.util.RelayUtils.handleException(* > *RelayUtils.java:284**)* > > * at > org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(* > *RelayUtils.java:143**)* > > * at org.wso2.carbon.mediator.fastXSLT.FastXSLTMediator.mediate(* > *FastXSLTMediator.java:218**)* > > * at org.apache.synapse.mediators.AbstractListMediator.mediate(* > *AbstractListMediator.java:97**)* > > * at org.apache.synapse.mediators.AbstractListMediator.mediate(* > *AbstractListMediator.java:59**)* > > * at org.apache.synapse.mediators.template.TemplateMediator.mediate(* > *TemplateMediator.java:104**)* > > * at org.apache.synapse.mediators.template.InvokeMediator.mediate(* > *InvokeMediator.java:148**)* > > * at org.apache.synapse.mediators.template.InvokeMediator.mediate(* > *InvokeMediator.java:84**)* > > * at org.apache.synapse.mediators.AbstractListMediator.mediate(* > *AbstractListMediator.java:97**)* > > * at org.apache.synapse.mediators.AbstractListMediator.mediate(* > *AbstractListMediator.java:59**)* > > * at org.apache.synapse.mediators.base.SequenceMediator.mediate(* > *SequenceMediator.java:158**)* > > * at > org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(* > *Axis2SynapseEnvironment.java:337**)* > > * at > org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(* > *SynapseCallbackReceiver.java:554**)* > > * at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(* > *SynapseCallbackReceiver.java:188**)* > > * at org.apache.axis2.engine.AxisEngine.receive(* > *AxisEngine.java:180**)* > > * at org.apache.synapse.transport.passthru.ClientWorker.run(* > *ClientWorker.java:261**)* > > * at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(* > *NativeWorkerPool.java:172**)* > > * at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown > Source)* > > * at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown > Source)* > > * at java.lang.Thread.run(Unknown Source)* > > *Caused by: **java.util.zip.ZipException**: Not in GZIP format* > > * at java.util.zip.GZIPInputStream.readHeader(Unknown Source)* > > * at java.util.zip.GZIPInputStream.<init>(Unknown Source)* > > > > > > My Query: > > How do allow *gzip content-encoding* in *WSO2ESB* .Does fastXSLT not > allow *Content-Encoding:gzip* .Any suggestion would be much appreciated. > > > > *PS*:I could find any relevent information on google regarding above > error. > > And we are bound to use *fastXSLT Mediator* as it is giving better > performance.Please do let me know if you need more information to > understand the scenario. > > > > *Thanks & Regards*, > *Vivek Kumar* > Eperium Business Solutions(I) Pvt Ltd, > B-13, Sector 57,Noida. > > > -- Best Regards, Malaka Silva Associate Director / Architect M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware https://wso2.com/signature http://www.wso2.com/about/team/malaka-silva/ <http://wso2.com/about/team/malaka-silva/> https://store.wso2.com/store/ Don't make Trees rare, we should keep them with care
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
