Hi Dushan, I have checked the mediator functionality. The send to a endpoint part is working fine. But when a response come from the endpoint server, it fails with a null pointer. Here is the exception,
[2012-11-16 20:39:27,182] ERROR - RawXSLTMediator Error creating XSLT transformer using : transform/transform_back.xslt org.apache.synapse.SynapseException: Cannot convert null to a StreamSource at org.apache.synapse.config.SynapseConfigUtils.handleException(SynapseConfigUtils.java:576) at org.apache.synapse.config.SynapseConfigUtils.getStreamSource(SynapseConfigUtils.java:77) at org.wso2.carbon.mediator.rawXSLT.RawXSLTMediator.createTemplate(RawXSLTMediator.java:198) at org.wso2.carbon.mediator.rawXSLT.RawXSLTMediator.mediate(RawXSLTMediator.java:138) at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:70) at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:114) at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:227) at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:417) at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:160) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181) at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:191) at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) This happens when it try to get the xslt style sheet from the response message context. Please Check. Also I think the way of taking a input stream when PT enable is working fine. So I will configure the Streaming XPath with this. Thanks AndunSLG On Fri, Nov 16, 2012 at 6:12 PM, Dushan Abeyruwan <[email protected]> wrote: > HI Andun, > Please find the patch attachment herewith > > cheers > Dushan > > On Fri, Nov 16, 2012 at 6:00 PM, Dushan Abeyruwan <[email protected]> wrote: > >> Hi >> I have integrated RAW XSLT Patch to PT and seems its working fine ! >> FYI : Andun Pls take the update on RAWXSLT project and synapse and run >> the sample, let me know your feed back >> >> cheers >> Dushan >> >> >> >> On Fri, Nov 16, 2012 at 3:06 PM, Dushan Abeyruwan <[email protected]>wrote: >> >>> HI >>> I'll be working to integrate XSLT patch to PT, since now we are >>> already fix all the issues related to integration test in PT. >>> >>> cheers >>> Dushan >>> >>> >>> On Fri, Nov 16, 2012 at 2:21 PM, Andun Sameera <[email protected]> wrote: >>> >>>> Hi All, >>>> >>>> Previously StreamingXPATH , RawXSLT Mediator was build on top of Binary >>>> Relay mode of the ESB. Since ESB is moving to the improved >>>> PassThrough transport I have moved those two to work on top of PT. But >>>> there is a confusion of getting an input stream to the incoming message. I >>>> have kept a open method to add that logic in both cases. I have added the >>>> RawXSLT mediator as a Carbon Mediator. Also added the StreamingXPath parser >>>> to Synapse 2.1.1.wso2v1. Following will be the Jiras for the patches. >>>> >>>> RawXSLT Mediator - https://wso2.org/jira/browse/CARBON-13996 >>>> Streaming XPath Parser - https://wso2.org/jira/browse/CARBON-13997 >>>> >>>> Thanks >>>> AndunSLG >>>> >>> >>> >>> >>> -- >>> Dushan Abeyruwan >>> *Senior Software Engineer* >>> *Integration Technologies Team* >>> *WSO2 Inc. http://wso2.com/* >>> *Mobile:(+94)714408632* >>> >>> >> >> >> -- >> Dushan Abeyruwan >> *Senior Software Engineer* >> *Integration Technologies Team* >> *WSO2 Inc. http://wso2.com/* >> *Mobile:(+94)714408632* >> >> > > > -- > Dushan Abeyruwan > *Senior Software Engineer* > *Integration Technologies Team* > *WSO2 Inc. http://wso2.com/* > *Mobile:(+94)714408632* > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
