on 03-30-2011 12:19 AM
Hi,
We are trying to implement a WebService Client for the secure Webservice. I have created a deployable proxy client and deployed it on the server, our basis has attached the X509 certificate to the proxy in VA. Test Destination is successful. I have exposed the client as public part in the ws client dc project.I have created a used dc relationship to the webservice client project in my EP Component project. I'm trying to use this client in a AbstractPortal component with following code
SECQANDA seq = (SECQANDA) ctx.lookup("<JNDI location");
I get a ClassCastException on this line
java.lang.ClassCastException: <package>.SECQANDAImpl incompatible with <package>.SECQANDA
Have anyone faced this problem? How do I resolve this error?
Appreciate any help.
Thanks,
Giri.
Hi Giri, looks like the lookup returns an instance of SECQANDAImpl. Try the following:
SECQANDAImpl seq = (SECQANDAImpl) ctx.lookup("<JNDI location");
Martin
Edited by: Martin Sommer on Mar 30, 2011 9:15 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.