// correctly, even without the xsi:type attribute, because
// we set the return type manually.
Service S_service = new Service();
Call call = (Call) S_service.createCall();
call.setTransport(new LocalTransport(server));
call.setReturnType(XMLType.XSD_DOUBLE);
Object result = call.invoke("TestService",
"serviceMethod",
new Object [] {});