This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
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.