P
Paolo
Hi all,
inside one of my Class i've method which make this operation:
......
Call call = (Call) new Service().createCall();
call.setTargetEndpointAddress(new
URL("http://localhost:8080/axis/services/"));
call.setOperationName(new QName("urn:SalutoWS", "saluto"));
Object rispostaWS = call.invoke(new Object[]{"sum"});
array = (ArrayList)rispostaWS;
........
When is doing this, it's return the follow exeption:
java.lang.ClassCastException
At the line (array = (ArrayList)rispostaWS.
How can be possible that the line can't make the cast between an Object and
ArrayList?
Thank's all.
Paolo
inside one of my Class i've method which make this operation:
......
Call call = (Call) new Service().createCall();
call.setTargetEndpointAddress(new
URL("http://localhost:8080/axis/services/"));
call.setOperationName(new QName("urn:SalutoWS", "saluto"));
Object rispostaWS = call.invoke(new Object[]{"sum"});
array = (ArrayList)rispostaWS;
........
When is doing this, it's return the follow exeption:
java.lang.ClassCastException
At the line (array = (ArrayList)rispostaWS.
How can be possible that the line can't make the cast between an Object and
ArrayList?
Thank's all.
Paolo