[Dev] [MB] Unauthorized call! when calling a method in AndesAdminService in Message Broker

2015-04-01 Thread Chamalee De Silva
Hi all, I am doing fast track training project in WSO2 Message Broker. To dynamically update a queue, I wrote a method called updatePermissionWithExclusiveConsumer in AndesAdminService and generated stubs for that. When calling the stub method through the relevant JSP file it gives this error.

Re: [Dev] [MB] Unauthorized call! when calling a method in AndesAdminService in Message Broker

2015-04-01 Thread Hemika Kodikara
Hi Chamalee, I think you have to add your new stub to the following file. carbon-business-messaging/components/andes/org.wso2.carbon.andes.admin/src/main/resources/META-INF/services.xml as follows.. operation name=updatePermissionWithExclusiveConsumer parameter name=AuthorizationAction

Re: [Dev] [MB] Unauthorized call! when calling a method in AndesAdminService in Message Broker

2015-04-01 Thread Chamalee De Silva
Thanks Hemika and Akalanka, On Wed, Apr 1, 2015 at 2:56 PM, Hemika Kodikara hem...@wso2.com wrote: Hi Chamalee, I think you have to add your new stub to the following file. carbon-business-messaging/components/andes/org.wso2.carbon.andes.admin/src/main/resources/META-INF/services.xml