i am tryieng to secure a web service that is developed as an EJB 3.1 , here is the code for the service
also here is the deployment descripter i am using
and here is my sun-web.xml
i have also created a user of group ecs in the application server and by the way i am using glassfish application server v3.1 , now whwen try to test this service using Soap UI and providing the user that i have created for group ecs i get the following error
[b]java.lang.Exception: Client not authorized for invocation of public com.ans.TestResponse com.ans.Anas.sayAnas(com.ans.TestRequest)[/b]
Please UseCodeTags when posting code. It will highlight your code and make it much easier to read. It probably will also increase the number of people helping you. I've added them for you since you are new so that you can see the difference.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.