Adding Sanjeewa and Lalaji

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
>



-- 
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

Reply via email to