I was about to ask this question and figured it out before I sent it, so I thought I would post it anyway just in case anyone else had the same problem. . .
I have created a service object that I want to expose to flex and I have created RemoteFactoryBean to provide the Remote service. This works great. Now I would like to add a security advisor to the service object so that it will be called whether or not the service object is called remotely. So I changed the id of my service object to serviceObjectTarget and created a ProxyFactoryBean with the security advisor interceptor and gave it the original name of my service object. Now I would expect my Remote Service to call the Proxied service, but instead I get this error: The routine "callMethod" has been declared twice in the same file. I guess that callMethod is being added by both the ProxyFactoryBean and the RemoteFactoryBean. Is there any way around this. . . . Aha answered my own question be for I could post. If I specify the remoteMethodNames in my RemoteFactoryBean then callMethod won't be created and I get no error. Lee
