Hi Isuru,

I have spotted the issue in the enrich configuration. Root cause for the
issue was that i was trying to enrich the same payload twice (one after
another) in to the body.

Thanks

--
Chanaka Fernando
Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 773337238
Blog : http://chanakaudaya.wordpress.com/




On Tue, Feb 5, 2013 at 10:42 AM, Isuru Udana <[email protected]> wrote:

> Hi Chanaka,
>
> Issue seems to be exists in the Enrich mediator not in Callout.
> See following line,
> at org.apache.synapse.mediators.elementary.EnrichMediator.
> mediate(EnrichMediator.java:87)
>
> Probably due to a configuration issue.
>
> On Tue, Feb 5, 2013 at 10:04 AM, Chanaka Fernando <[email protected]>wrote:
>
>> Hi,
>>
>> I am getting the following exception when i am calling the Callout
>> mediator.
>>
>> 2013-02-05 09:51:07,063] ERROR - NativeWorkerPool Uncaught exception
>> rg.apache.axiom.om.
>> OMException: Inserting self as the sibling is not allowed
>>        at
>> org.apache.axiom.om.impl.llom.OMNodeImpl.insertSiblingAfter(OMNodeImpl.java:201)
>>        at
>> org.apache.synapse.mediators.elementary.Target.insertElement(Target.java:171)
>>        at
>> org.apache.synapse.mediators.elementary.Target.insert(Target.java:117)
>>        at
>> org.apache.synapse.mediators.elementary.EnrichMediator.mediate(EnrichMediator.java:87)
>>        at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)
>>        at
>> org.apache.synapse.config.xml.AnonymousListMediator.mediate(AnonymousListMediator.java:30)
>>        at
>> org.apache.synapse.mediators.filters.FilterMediator.mediate(FilterMediator.java:143)
>>        at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)
>>        at
>> org.apache.synapse.config.xml.AnonymousListMediator.mediate(AnonymousListMediator.java:30)
>>        at
>> org.apache.synapse.mediators.filters.FilterMediator.mediate(FilterMediator.java:143)
>>        at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)
>>        at
>> org.apache.synapse.mediators.filters.FilterMediator.mediate(FilterMediator.java:112)
>>        at
>> org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)
>>        at
>> org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:114)
>>        at
>> org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:222)
>>        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.nhttp.ClientWorker.run(ClientWorker.java:275)
>>        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)
>>
>>
>> Any guess on how to get rid of this error?
>>
>>
>> Thanks,
>>
>> --
>> Chanaka Fernando
>> Technical Lead
>> WSO2, Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 773337238
>> Blog : http://chanakaudaya.wordpress.com/
>>
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Isuru Udana*
> *
>  *
> *
> Software Engineer
> *
> Integration Technologies Team, WSO2 Inc.; http://wso2.com
> email: [email protected] cell: +94 77 3791887
> blog: http://mytecheye.blogspot.com/
> twitter: http://twitter.com/isudana
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to