Hi All,

I want to build the end point url (uri.var.query) dynamically based on the
user input. I am passing the URL as below. 

Template....

<call>
       <endpoint>
              <http method="get"
uri-template="{uri.var.query}&amp;format=json" />
       </endpoint>
</call>

I can see the endpoint URL is encoded and invalid. 
*Expected Endpoint *
http://localhost:8080/v1/people/~/connections?oauth2_access_token=token&start=1&count=10&format=json

*Given Endpoint by ESB* 
%7Buri.var.apiUrl%7D/v1/people/~/connections%3Foauth2_access_token%3D%7Buri.var.accessToken%7D%26start%3D1%26count%3D10&format=json
 

I have tested this in both 4.8.0 and 4.8.1 ESB versions even though it said
to fix [1] in 4.8.1. I think the fix has address only ":" and "/". In this
case we need to pass "&","{","}","=" and ",".

[1] - https://wso2.org/jira/browse/ESBJAVA-2860

Any suggession please?

Thanks
Indika Kularathne



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/Property-mediator-being-URL-encoded-on-ESB-tp90214p92159.html
Sent from the WSO2 Development mailing list archive at Nabble.com.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to