title: WSO2 http endpoint
body: <p>I would like to create a Dynamic HTTP Endpoint in WSO2. I have a sequence (Tconf) which contains all the property values. I am deriving them, using the Property Mediator. Once I get the variables, I am using the SendMediator to send an rest request. Unfortunately it does not seem to be working. Not sure what I am doing wrong, but none of the properties are getting appended. I can see all the properties when I log them.</p>
  
  <pre><code>&lt;api xmlns="http://ws.apache.org/ns/synapse" name="TririgaApi" context="/tririga"&gt;
     &lt;resource methods="GET" url-mapping="/employee"&gt;
        &lt;inSequence&gt;
           &lt;sequence key="Tconf"/&gt;
           &lt;property xmlns:ns="http://org.apache.synapse/xsd" name="uri.var.service.user" expression="get-property('tri.service.user')"/&gt;
           &lt;property xmlns:ns="http://org.apache.synapse/xsd" name="uri.var.service.pass" expression="get-property('tri.service.pass')"/&gt;
           &lt;property xmlns:ns="http://org.apache.synapse/xsd" name="uri.var.service.host" expression="get-property('tri.service.host')"/&gt;
           &lt;property xmlns:ns="http://org.apache.synapse/xsd" name="uri.var.service.path" expression="get-property('tri.service.path')"/&gt;
           &lt;property xmlns:ns="http://org.apache.synapse/xsd" name="uri.var.service.wfName" expression="get-property('triPeople.database.employee.wfName')"/&gt;
           &lt;send&gt;
              &lt;endpoint&gt;
                 &lt;http method="GET" uri-template="http://host:port/{uri.service.host}{uri.var.service.path}?USERNAME={uri.var.service.user}&amp;amp;PASSWORD={uri.var.service.pass}&amp;amp;ioName={uri.var.service.wfName}"/&gt;
              &lt;/endpoint&gt;
           &lt;/send&gt;
        &lt;/inSequence&gt;
     &lt;/resource&gt;
  &lt;/api&gt;
  </code></pre>