on 09-29-2009 10:25 PM
Hello,
I created web service using Nwds Ejb.
I want to run this web service from sap portal iview and to receive the same user Id that logon to the portal , on the web service side.
In the j2ee Ejb code I am using :
try{
String username = myContext.getCallerPrincipal().getName();
IUser user =
UMFactory.getUserFactory().getUserByUniqueName(username);
return user.getUniqueName;
} catch(UMException e) {
return e.getMessage();
}
But the result is always Guest ?
even if I selected use sap authentication on the wsdl descriptor.
Need some help solving this issue?
Thanks in advance
Nir
Hi,
how do you integrate web service calling into iview?
webDynpro? Flex application?
Regards
Cristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.