Forums Register Login
jsp exception
I have a jsp like this: But when i try to run it it gives an exception!
javax.servlet.ServletException: class samples.client.DynamicInvoker : java.lang.InstantiationException: samples.client.DynamicInvoker
Heres the JSP
UDDI Browser
<jsp:useBean id="kishId" scope="session" class="samples.client.DynamicInvoker" />
<jsp:setProperty name="kishId" property="*" />
<%@ page language="java" %>
<%@ page import="samples.client.*" %>
<%@ page import="java.util.*" %>
<%@ page import="java.lang.*" %>
<body bgcolor="DDDDDD">
<h2>Invoking the version service</h2>
String operationName = "getVersion";
String[] args = {"http://localhost:8080/axis/services/Version?wsdl","getVersion"};
String portName = null;
DynamicInvoker invoker = new DynamicInvoker("http://localhost:8080/axis/services/Version?wsdl");
HashMap map = invoker.invokeMethod(operationName, portName, args);
// print result
for (Iterator it = map.keySet().iterator(); it.hasNext() {
String name = (String) it.next();
<h3><%=name %> : <%= map.get(name) %></h3>
System.out.println(name + "=" + map.get(name));

can somebody give me a solution for this?
can you post entire error message ?
Have you no shame? Have you no decency? Have you no tiny ad?
Rocket Oven Kickstarter - from the trailboss

This thread has been viewed 617 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 16, 2018 18:16:01.