posted 17 years ago
Looks like you have set some method permission on getAdvice() method and the client does not have the necessary rights to call this method.
If you are running the client as mentioned in the book, the client calls will be running with the default principal "guest".
Check the following in the Application Deployment Tool:
1) Select the AdviceBean
2) Select the "Security" tab
3) Select under "Method Permissions", the option "remote"
4) Check the value of "Availability" column for getAdvice() method. It must be "All Users". If not you will get this exception.
(Click on the "Availability" column to select and set values).