on 05-19-2005 4:29 AM
Hi, All
I was trying to get SSO in order to login the SAP System in web dynpro
In my DC, I had added "security.class" and "tc/sec/destinations/interface" as used DC.
In the web pynpro reference->Service references
I had added "tcsecdestinationsservice" and "tcsecdestinationsservice" 2 items.
My code is:
InitialContext ctx = null;
try {
ctx = new InitialContext();
} catch (NamingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
//Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader());
Object obj = null;
try {
obj = ctx.lookup(DestinationService.JNDI_KEY);
} catch (NamingException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
final DestinationService dstService = (DestinationService) obj;
RFCDestination dst1 = (RFCDestination) (dstService.getDestination("RFC",
"myDst"));
But when i build the project: An errror occurs :
"The type com.sap.security.core.server.util0.IDException cannot be resolved. It is indirectly referenced from required .class files"
So what is the reason?
Add this used DC:
com.sap.exception
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kevin,
Did you get any solution for this problem as me too getting the same error?
Thanks & Best Regards,
Vivek
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 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.