Hi Nils,
If synapse could not load your custom class mediator, then you will face a class not found exception..But you are facing different issue...Keep some log mediators in the sequence flow and find where your mediation flow fails..

-Ratha

On 12 July 2012 18:39, Amila Maha Arachchi <amilam@wso2.com> wrote:
Oops.. Replied with a wrong context in mind :). Sorry about that.


On Thu, Jul 12, 2012 at 7:30 AM, Hiranya Jayathilaka <hiranya911@gmail.com> wrote:
Hi Amila,

On Thu, Jul 12, 2012 at 4:28 PM, Amila Maha Arachchi <amilam@wso2.com> 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 <mail@nils-schwenzfeier.de> 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: hiranya@wso2.com; Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com



--
Amila Maharachchi
Technical Lead
Member, Management Committee - Cloud & Platform TG

WSO2, Inc.;http://wso2.com

Blog: http://maharachchi.blogspot.com
Mobile: +94719371446