For some time I was thinking about extending the Synapse XPaths such a way
that users can write their own custom XPaths. It will be a nice addition to
ESB.

Thanks,
Supun..

On Mon, Nov 22, 2010 at 12:27 PM, Udayanga Wickramasinghe <
udayan...@wso2.com> wrote:

> Hi ,
> i looked into the code. Seems like currently there is very little support
> for extending to our own Xpath Variable context. I can see two options..
> First is to introduce our own xpath variable logic in
> SynapseXPathVariableContext itself. Other option is to inject my own Context
> Support object (wrapping XpathVariable Context) for SynapseXPath evaluators.
> Since my variable is not generic first option seems a bit infeasible. for
> second option also, i may have to consider all xpath evaluation paths in the
> flow :( .. what other alternatives do i have?  thanks in advance..
>
> Regards,
> Udayanga
>
>
>
> On Mon, Nov 22, 2010 at 11:32 AM, Udayanga Wickramasinghe <
> udayan...@wso2.com> wrote:
>
>> Hi,
>>
>> On Mon, Nov 22, 2010 at 11:30 AM, Ruwan Linton <ru...@wso2.com> wrote:
>>
>>>  Have a look at the class SynapseXPathVariableContext in the synapse
>>> core.
>>>
>>
>> thanks ..i'll have a look :)
>>
>> Regards,
>>
>> Udayanga
>>
>>
>>> Thanks,
>>> Ruwan
>>>
>>>
>>> On 11/22/10 10:37 AM, Udayanga Wickramasinghe wrote:
>>>
>>> Hi,
>>> $subject?
>>> i have a xml response element coming from a service within a custom
>>> mediator. i want to add it as a xpath property say WS_RESPONSE. Other
>>> mediators should be able to access it as a xpath expression ie:-
>>> expression="$WS_RESPONSE/urn:child" . To which extent i need to modify
>>> Synapse/ESB to achieve this?
>>>
>>> Regards,
>>> Udayanga
>>>
>>> --
>>> *Udayanga Wickramasinghe*
>>> Software Engineer; WSO2 Inc.; http://wso2.com,
>>> *email: **udayan...@wso2.com* <udayan...@wso2.com>* cell: +94 (77)
>>> 983-4365
>>> blog: **http://udayangawiki.blogspot.com*<http://udayangawiki.blogspot.com>
>>> *
>>> twitter: 
>>> **http://twitter.com/udayanga_wick*<http://twitter.com/udayanga_wick>
>>> *
>>> **
>>> * <http://lk.linkedin.com/in/ddweerasiri>
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing 
>>> listcarbon-...@wso2.orghttps://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>>
>>> --
>>> Ruwan Linton
>>> Software Architect & Product Manager, WSO2 ESB; http://wso2.org/esb
>>>
>>> WSO2 Inc.; http://wso2.com
>>>
>>>
>>> Lean . Enterprise . Middleware
>>>
>>> phone: +1 408 754 7388 ext 51789
>>> email: ru...@wso2.com; cell: +94 77 341 3097
>>> blog: http://blog.ruwan.org
>>> linkedin: http://www.linkedin.com/in/ruwanlinton
>>> tweet: http://twitter.com/ruwanlinton
>>>
>>>
>>
>>
>> --
>> *Udayanga Wickramasinghe*
>> Software Engineer; WSO2 Inc.; http://wso2.com,
>> *email: **udayan...@wso2.com* <udayan...@wso2.com>* cell: +94 (77)
>> 983-4365
>> blog: **http://udayangawiki.blogspot.com*<http://udayangawiki.blogspot.com>
>> *
>> twitter: 
>> **http://twitter.com/udayanga_wick*<http://twitter.com/udayanga_wick>
>> *
>> **
>> * <http://lk.linkedin.com/in/ddweerasiri>
>>
>
>
>
> --
> *Udayanga Wickramasinghe*
> Software Engineer; WSO2 Inc.; http://wso2.com,
> *email: **udayan...@wso2.com* <udayan...@wso2.com>* cell: +94 (77)
> 983-4365
> blog: **http://udayangawiki.blogspot.com*<http://udayangawiki.blogspot.com>
> *
> twitter: **http://twitter.com/udayanga_wick*<http://twitter.com/udayanga_wick>
> *
> **
> * <http://lk.linkedin.com/in/ddweerasiri>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Supun Kamburugamuva
Technical Lead
WSO2 Inc.;  http://wso2.org
E-mail: su...@wso2.com;  Mobile: +94 77 431 3585
Blog: http://supunk.blogspot.com
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to