Hi Amila, On Thu, Jul 12, 2012 at 4:28 PM, Amila Maha Arachchi <[email protected]>wrote:
> Hi Nils, > > You should copy the .jar archive to SYNAPSE_HOME/reposiroty/components/lib > folder. I think the article you are referring is somewhat old now. Things > have changed a bit. > Synapse doesn't have a repository/components/lib folder. SYNAPSE_HOME/lib is the place to drop custom mediator jars. Nils, can you may be attach your jar file here so we can give it a try? I hope you're using Synapse 2.1? Thanks, Hiranya > > Hope this helps. > > Regards, > Amila. > > > On Thu, Jul 12, 2012 at 6:40 AM, Nils Schwenzfeier < > [email protected]> wrote: > >> Hi There, >> >> I am in big trouble trying to customize a Mediator for Android Synpase. I >> took a custom Mediator from an example from WSO2, compiled it and packed it >> into a .jar archive. >> I have added this to the lib folder of my SYNAPSE_HOME folder. >> After that I called the Mediator out of the sample_config with the >> following statement: >> >> <class name="full_name"> >> <property … /> >> </class> >> >> But this doesn't work. It seems like the synapse server does not find my >> custom Mediator, instead it uses a DropMediator and the client throws the >> following exception: >> >> [java] org.apache.axis2.AxisFault: The input stream for an incoming >> message is null. >> >> I followed the example on: http://wso2.org/library/2898 >> >> Hope you have a hint for me, thanks for your effort. >> >> Kind regards >> >> Nils >> > > > > -- > *Amila Maharachchi* > Technical Lead > Member, Management Committee - Cloud & Platform TG > WSO2, Inc.; http://wso2.com > > Blog: http://maharachchi.blogspot.com > Mobile: +94719371446 > > > -- Hiranya Jayathilaka Associate Technical Lead; WSO2 Inc.; http://wso2.org E-mail: [email protected]; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com
