Run a web dynpro application encounter WDUMException exception...
We currently encounter a error when we run a web dynpro application.
That is, once a user click a url which will redirect to the enterprise portal,
the com.sap.tc.webdynpro.services.sal.um.api.WDUMException is thrown.
I have checked the cause of the exception is that "if there is no user (neither authenticated nor anonymous user) attached to the current session"
The following is our situation:
When linking to EP domain(ex. http://sapep.xxx.com), single signed on wil automatically process.
The url which I mentioned above is something like "http://sapep.xxx.com/portal?doc=xxx&ver=2010"
Our web dynpro program will invoke the IWDClientUser api initially for get the currently logon user's information.
And this is caused the WDUMException.
We think that the error is because that the session is not created while loading the web dynpro application,
so that, the system can't get the cuurent user with a non-user session.
The situation is not often happened. We think this is because of the system service issue.
So we try to prevent this problem with the following mechanism:
When the excpetion is thrown, we invoke a waiting program to let the system has time to generate the require session.
So when invoke the IWDClientUser, this exception can be prevented.
Any suggestion.please advise, thanks.