Hi Shamran,

I assume that you are trying to fetch some value from the request using
xpath //ticket and assigning it to the endpoint url.

First you need to set a property extracting the value from xpath.

<property name="uri.var.prop1" expression="//ticket" />

Please note that property name must have the prefix uri.var .

Then at the HTTPEndpoint, we can assign that property value to the
uri-template as follows.

http://localhost:8080/alfresco/s/api/site/folder/
site1/documentLibrary/f1/f2?alf_ticket={uri.var.prop1}


Thanks.

On Thu, Aug 18, 2016 at 9:36 AM, Shamran Siddique <ssiddi...@zaizi.com>
wrote:

> Hi there,
>
> I was trying to append the property to the HTTP endpoint which will
> connect the wso2 esb with Alfresco.
>
> *This is my property variable:*
>
> //ticket
>
> *This is my endpoint API looks like: *
>
> http://localhost:8080/alfresco/s/api/site/folder/
> site1/documentLibrary/f1/f2?alf_ticket={here I have to add the property -
> ticket}
>
> I dont know how to add it. Please help.
>
> Thanks in Advance!
>
> Regards,
> Shamran.
>
> ------------------------------
> This message should be regarded as confidential. If you have received this
> email in error please notify the sender and destroy it immediately.
> Statements of intent shall only become binding when confirmed in hard copy
> by an authorised signatory.
>
> Zaizi Ltd is registered in England and Wales with the registration number
> 6440931. The Registered Office is Brook House, 229 Shepherds Bush Road,
> London W6 7AN.
>



-- 
*Isuru Udana*
Technical Lead
WSO2 Inc.; http://wso2.com
email: isu...@wso2.com cell: +94 77 3791887
blog: http://mytecheye.blogspot.com/
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to