Hi Malaka,

Thanks for clarification. There was an old test case for $subject and I am
checking validity of that. When I am implementing following sequences, it
doesn't give an exact error. But it also do not send to back end. Is there
any exact reason for that?

<sequence name="endpointInSequence">
        <clone id="Clone1">
            <target sequence="Server1Sequence">
                <endpoint>
                    <address uri="
http://localhost:9001/services/SimpleStockQuoteService/"/>
                </endpoint>
            </target>
            <target sequence="Server2Sequence"/>
        </clone>
    </sequence>

<sequence name="Server1Sequence">
        <enrich>
            <source clone="true"
xmlns:ns="http://org.apache.synapse/xsd";
xmlns:ser="http://services.samples";
xpath="concat(//ser:symbol/text(),'1')"/>
            <target property="original_symbol" type="property"/>
        </enrich>
        <enrich>
            <source clone="true" property="original_symbol"
type="property"/>
            <target xmlns:ns="http://org.apache.synapse/xsd";
xmlns:ser="http://services.samples"; xpath="//ser:symbol/text()"/>
        </enrich>
    </sequence>

PS: Sample test case of above scenario is available at:
https://testlink.wso2.com/linkto.php?tprojectPrefix=ESB&item=testcase&id=ESB-2254

Thank you and Regards,
Dilshani



On Wed, Mar 23, 2016 at 6:14 PM, Malaka Silva <mal...@wso2.com> wrote:

> Hi Dilshani,
>
> Yes we can. But this does not make sense. What is the use case you are
> trying to implement?
>
> On Wed, Mar 23, 2016 at 5:11 PM, Dilshani Subasinghe <dilsh...@wso2.com>
> wrote:
>
>> Hi all,
>>
>> Any ideas or comments on $subject?
>>
>> Regards,
>> Dilshani
>>
>> --
>> Best Regards,
>>
>> Dilshani Subasinghe
>> Software Engineer - QA
>> WSO2, Inc.;http://wso2.com/
>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2F&sa=D&sntz=1&usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ>
>> lean.enterprise.middleware
>>
>> Mobile: +94773375185
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Best Regards,
>
> Malaka Silva
> Senior Tech Lead
> M: +94 777 219 791
> Tel : 94 11 214 5345
> Fax :94 11 2145300
> Skype : malaka.sampath.silva
> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
> Blog : http://mrmalakasilva.blogspot.com/
>
> WSO2, Inc.
> lean . enterprise . middleware
> http://www.wso2.com/
> http://www.wso2.com/about/team/malaka-silva/
> <http://wso2.com/about/team/malaka-silva/>
> https://store.wso2.com/store/
>
> Save a tree -Conserve nature & Save the world for your future. Print this
> email only if it is absolutely necessary.
>



-- 
Best Regards,

Dilshani Subasinghe
Software Engineer - QA
WSO2, Inc.;http://wso2.com/
<http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2F&sa=D&sntz=1&usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ>
lean.enterprise.middleware

Mobile: +94773375185
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to