You could use the SynapseXPath.parseXPathString(String) method to get the
SynapseXPath.... and you also can retrieve the XPath string from AXIOMXPath,
I guess toString will work, in which case

SynapseXPath synXp = SynapseXPath.parseXPathString(axiomXp.toString());

Thanks,
Ruwan

On Mon, Oct 27, 2008 at 10:53 PM, Sylvain Legault <[EMAIL PROTECTED]>wrote:

> Great,
>
> one small difference is that getStringValue was taking a AxiomXPath and
> stringValue is an SynapseXPath method, but I think I can convert it without
> trouble.
>
> Thank
> Sylvain
>
>
> On Mon, Oct 27, 2008 at 10:47 AM, Ruwan Linton <[EMAIL PROTECTED]>wrote:
>
>> Hi Sylvain,
>>
>> Please use the method;
>>
>> org.apache.synapse.util.xpath.SynapseXPath.stringValueOf(MessageContext
>> synCtx)
>>
>> method instead of the Axis2MessageContext method...
>>
>> Thanks,
>> Ruwan
>>
>>
>> On Mon, Oct 27, 2008 at 7:56 PM, Sylvain Legault <[EMAIL PROTECTED]>wrote:
>>
>>> Hi,
>>>
>>> I'm trying to update with Synapse from the trunk and notice an API
>>> changed and I'm having difficulties to figure out what is replacing it. Can
>>> anyone point me in the right direction?
>>> I would like to know what is replacing
>>> Axis2MessageContext.getStringValue?
>>>
>>> Thanks
>>> Sylvain
>>>
>>
>>
>>
>> --
>> Ruwan Linton
>> http://wso2.org - "Oxygenating the Web Services Platform"
>> http://ruwansblog.blogspot.com/
>>
>
>


-- 
Ruwan Linton
http://wso2.org - "Oxygenating the Web Services Platform"
http://ruwansblog.blogspot.com/

Reply via email to