Thanks, I check it and WebServiceContext is not null I was mistaken, but the RECV_RESULTS from the MessageContext it´s null, now that is my problem.
I will fix in a new post now. blacksheep wrote: > > Hi, > > If you are using Spring AOP in your project, the WebServiceContext returns > null. > Thanks to Willem (from Iona), he put a fix (issue CXF-1074) and checked > it > in the trunk. The fix failed in my case but might work for your case. > Please > get the latest trunk and build and use it. ( > http://incubator.apache.org/cxf/building.html) > > Thanks, > > On 10/5/07, imorales <[EMAIL PROTECTED]> wrote: >> >> >> Hi all. >> >> I need to know how get the user name that is invoking a web service. I >> have >> a WebServiceContext in my webservice implementor class, WebServiceContext >> has a method "getUserPrincipal", but WebServiceContext is null and i >> cant >> acces to it. I read how to write a custom Interceptor but i dont know how >> get de user whenever serviceweb is called. >> >> Thanks in advance. >> -- >> View this message in context: >> http://www.nabble.com/Know-the-user-principal-is-callin-a-WS-tf4573580.html#a13054822 >> Sent from the cxf-user mailing list archive at Nabble.com. >> >> > > > -- > Mustafa Egilmezbilek > > -- View this message in context: http://www.nabble.com/Re%3A-Know-the-user-principal-is-callin-a-WS-tf4574447.html#a13057277 Sent from the cxf-user mailing list archive at Nabble.com.
