Hi Ratha,

According to the current logic only properties with uri.var prefix will be
appended.

I guess this is to make sure those properties will not conflict with other
user define properties.

Best Regards,
Malaka


On Wed, Mar 5, 2014 at 9:23 AM, Vijayaratha Vijayasingam <[email protected]>wrote:

> Hi ;
> I have defined following HTTP endpoints in my API;
>
>
> [1] <property name="zip" expression="$url:zip" scope="default"
> type="STRING"></property>
>
>    <send>
>
>       <endpoint>
>
>          <http method="get" uri-template="
> https://www.zipwise.com/webservices/zipinfo.php?key=62n0gsiy011b759i&amp;zip={zip}&amp;format=xml<https://www.zipwise.com/webservices/zipinfo.php?key=62n0gsiy011b759i&zip=%7Bzip%7D&format=xml>
> "></http>
>
>       </endpoint>
>
> The above[1] is not working, because, it is not appending the "zip"
> property value.
>
> [2]<property name="uri.var.zip" expression="$url:zip" scope="default"
> type="STRING"/>
>          <send>
>             <endpoint>
>                <http method="get" uri-template="
> https://www.zipwise.com/webservices/zipinfo.php?key=62n0gsiy011b759i&zip={uri.var.zip}&format=xml
> "/>
>             </endpoint>
>          </send>
>
> This is working, because i have defined the property with "uri.var" prefix.
>
> Now, what is the issue in my first configuration? I defined a property
> with my preferred value. Why ESB is not appending that property? only looks
> for "uri.var" properties?
>
> thanks
> --
> -Ratha
> mobile: (+94)755906608
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> 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/>

Save a tree -Conserve nature & Save the world for your future. Print this
email only if it is absolutely necessary.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to