Hi,

If you're using the same data service to represent all the stages, the
service must be re-deployed to get the changes from the data source, which
is what is happening when you save it again. The lookup of a data source is
a deployment time action, and changing the data source later will not have
any effect on the data service at runtime.

Cheers,
Anjana.


On Sat, May 11, 2013 at 12:22 AM, Ashansa Perera <[email protected]> wrote:

> Hi all,
>
> We are going to support data services in AF. What we do is create a dbs
> file with the following in app creation time and allow assigning different
> URLs for the data source in different stages through configure resources in
> AF
> <config id="default">
>       <property name="carbon_datasource_name">TestDS</property>
>  </config>
>
> But what we have observed is even-though the URL has been changed in the
> datasource, when trying to access the service it is giving the same output
> of Development stage (first stage)
> When I open the xml view of the data service and save it, it gives the
> correct output.
>
> What could be the reason here? Can it be any caching issue?
>
> --
> Thanks & Regards,
>
> Ashansa Perera
> Software Engineer
> WSO2, Inc
>



-- 
*Anjana Fernando*
Associate Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to