Hi Irham, Did you disable caching? If not try disabling the caching. Refer to the document [1].
[1] - https://docs.wso2.com/display/AM191/Configuring+Caching#ConfiguringCaching-Responsecache Thanks. On Fri, Oct 2, 2015 at 12:35 PM, Irham Iqbal <[email protected]> wrote: > Hi, > > I am automating the API subscription workflow [1] under the topic > "Engaging WS Workflow Executor in the API Manager" 3rd point when I > subscribe to an API and invoke it before approve the subscription task > APIM returns[2] which is expected because subscription task is not > approved yet. > But after approved the subscription task when i invoke the service it's > still returning the same. I think it's because of caching, because If I > invoke the service only after approve the subscription task it's working > fine, also if I restart the server it's working fine > > [1]https://docs.wso2.com/display/AM190/Adding+an+API+Subscription+Workflow > [2]<ams:fault> > <ams:code>900909</ams:code> > <ams:message>The subscription to the API is inactive</ams:message> > <ams:description> > Access failure for API: /api4/1.0.0, version: 1.0.0 with key: > a355845c9fb415ae7d531231ecfc5d2 > </ams:description> > </ams:fault> > > Thanks, > Iqbal > -- > Irham Iqbal > Software Engineer - Test Automation > WSO2, Inc.: http://wso2.com > lean. enterprise. middleware > phone: +94 777888452 > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Dinithi De Silva* Associate Software Engineer, WSO2 Inc. m:+94716667655 | e:[email protected] | w: www.wso2.com | a: #20, Palm Grove, Colombo 03
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
