Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1539 by [email protected]: ClassCasetException
http://code.google.com/p/openmeetings/issues/detail?id=1539
java.lang.ClassCastException:
org.openmeetings.app.data.beans.basic.xsd.ErrorResult cannot be cast to
org.openmeetings.app.data.beans.basic.ErrorResult
java.lang.ClassCastException:
org.openmeetings.app.data.beans.basic.xsd.Sessiondata cannot be cast to
org.openmeetings.app.data.beans.basic.Sessiondata
i has added openmeetings.jar from build path
code:
public static void main(String[] args) {
JaxWsDynamicClientFactory factory = null;
Client client = null;
Object[] rs = null;
Sessiondata sessionData;
ErrorResult errorResult;
try {
factory = JaxWsDynamicClientFactory.newInstance();
client =
factory.createClient("http://localhost:5080/openmeetings/services/UserService?wsdl");
rs=(Sessiondata)client.invoke("getSession");
} catch (Exception e) {
e.printStackTrace();
}
}
--
You received this message because you are subscribed to the Google Groups
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/openmeetings-dev?hl=en.