Hi, I tried creating a new version of an existing API, just by updating the context as explained here[1]. API name untouched. Seems this is not possible[2].
Is there any other way to overcome this while preserving the previous version? [1] https://docs.wso2.com/display/ESB481/Creating+APIs [2] *TID: [0] [ESB] [2016-03-16 15:01:01,309] ERROR {org.wso2.carbon.rest.api.service.RestApiAdmin} - Error trying to add the API to the ESB configuration : notificationAPI:: Duplicate resource definition by the name: * *notificationAPI{org.wso2.carbon.rest.api.service.RestApiAdmin}org.apache.synapse.SynapseException: Duplicate resource definition by the name: CNEADHOCESB2QAPI2 at org.apache.synapse.config.SynapseConfiguration.handleException(SynapseConfiguration.java:1515) at org.apache.synapse.config.SynapseConfiguration.addAPI(SynapseConfiguration.java:351) at org.wso2.carbon.rest.api.service.RestApiAdmin.addApi(RestApiAdmin.java:640) at org.wso2.carbon.rest.api.service.RestApiAdmin.addApiFromString(RestApiAdmin.java:77) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212) at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117) at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver* .java:40) -- Regards, UdaraR
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
