Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Login credidentials and HandlerChain problem

hi, i have a problem with getting user who call a web service and logging soap message together.

i was getting a user with this code:

Logger log = LoggerFactory.getLogger("");
String login = "";
IUser user = UMFactory.getAuthenticator().getLoggedInUser();
login = user.getUniqueName();;

this code working with no problem when the basic http authentication was set.

problem begins with adding handlerChain annotation to web service class.

@HandlerChain(file = "LogMessage_handler.xml")

when i comment this annotation getting user working perfectly, but when the logging soap messages is turned on, web service is getting "guest" as user and http authentication is not working witch is the major problem because the webservice is available on internet. i want to logging inbount soap requests. but the no authentication is inadmissible.

can anyone help me?

Not what you were looking for? View more on this topic or Ask a question