This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I have the following code. When I execute it is throwing this Error "cannot find symbol method getResponseHeader".. Can you Please help me to solve this Error. I have pointed all the below jar files but still Error exists.
But the error message says that this class: com.cognos.org.apache.axis.client.Stub is the one which doesn't have that method. It's pretty clear that the class came from cognos.com, not from Apache. You should look in one of Cognos's jars if you want to find that class. Or better still, read their documentation.
Joined: Nov 02, 2011
I tried by changing the Header file from "com.cognos.org.apache.axis.client.Stub" to "org.apache.axis.client.Stub"
but I am receiving this below New Error
C:\Program Files\Java\jdk1.6.0_27\bin>java try2
erServiceStub cannot be cast to org.apache.axis.client.Stub
By the way, because of that this is not a java in general problem, it's still a cognos
problem and you should have posted it in the forum you posted your first problem.
Ask an admin to move it to that forum.
For me the problem is still the same, that you're using a code sample designed for cognos 10
with your cognos 8 api and jars. The only possibilty to guess which methods
in cognos 10 correspond to api methods in cognos 8 is using a javadoc of both versions.
Do you have that? And even with that it's not a trivial task.
So my suggestion is also still the same: Send a mail to the author of your code sample (the ibm guy) and ask him
if he can help you.
He should have the api documentation and the skill to help you.