Juergen,
I've checked the serviceInterface and the portInterface and they are in sync. I've also tried not specifying portInterface to no avail.
Note that the error that I'm now getting is ArrayList casting exception:
Code:
java.util.ArrayList
java.lang.ClassCastException: java.util.ArrayList
Since this is not working, I'm considering an alternative to using the JaxRpcPortProxyFactoryBean. I'm thinking of using the web service client stubs that Axis generates using the wsdl2java tool. However, the problem here is that I want to get a bean that will implement the serviceInterface, but the stub that Axis generates implemetns the remoteInterface.
Let say you have the following:
Code:
interface Service
{
void f();
}
interface RemoteService extends Remote
{
void f() throws RemoteException;
}
class RemoteServiceImpl implements RemoteService
{
void f() throws RemoteExcpetion { throw new RemoteException(); }
}
I need a bean factory that will take RemoteServiceImpl and return an implementation of the Service interface. Is this possible?