Neseek77 / openmeetings

Automatically exported from code.google.com/p/openmeetings
1 stars 0 forks source link

ClassCasetException #1539

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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?ws
dl");
rs=(Sessiondata)client.invoke("getSession");
} catch (Exception e) {
            e.printStackTrace();
        }
    }

Original issue reported on code.google.com by iamabird...@hotmail.com on 11 Oct 2011 at 10:02

GoogleCodeExporter commented 9 years ago
I am not sure what you are doing here,
but if you have problems regarding integration I would suggest using the 
mailing list first.

Original comment by seba.wag...@gmail.com on 11 Oct 2011 at 11:36