Hello,

I'm building a web service that has some security requirement that cannot be checked before service invocation : I need to test service params and compare with user principal to grant access to business service.

How can I throw an exception from my service that will be converterd to an "Server.Unauthenticated" AxisFault ?

I was thinking about a specialized Handler that could intercept my SecurityException and throw a new Axisfault, but I don't know where to set it in handler chain (as onFault cannot throw AxisFault)

Nico.

This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

Reply via email to