FooService is an interface. In order to expose the methods from axis.client.Stub you need first to cast it to a Stub. For example, It is possible that 3 different classes implement the same interface. If you have an object of that interface it has 3 possibilities for the actual class. Therefore you must cast it before calling any method.

FooService (last edited 2009-09-20 23:32:23 by localhost)