1 Reply Latest reply on Jan 31, 2005 11:28 AM by Thomas Diesler

    No Serializer for an Array of Ojbects

    Carl Newcomer Newbie

      I am having the same problem as posted in the thread http://www.jboss.org/index.html?module=bb&op=viewtopic&t=53273 however I did not see a solution.

      I have an endpoint defined as follows:

      public GenderUsedVO[] findAllKeyGenderByLogNo(String logNo)
      throws RemoteException;

      When I try to access this service, I get the following error:

      java.io.IOException: No serializer found for class GenderUsedVO in registry org.apache.axis.encoding.TypeMappingImpl@49a61b

      If I just return the same object as a single instance of this object, it works fine but when I try to return an array of these objects I get the above error.

      We are using JBoss 4.0.0. Any suggestions would be greatly appreciated.

      Best Regards.


        • 1. Re: No Serializer for an Array of Ojbects
          Thomas Diesler Master

          The complexbean sample uses an endpoint like this

          public interface CustomerOrderEndpoint
           extends java.rmi.Remote
           public CustomerOrder echoCustomerOrder(CustomerOrder order)
           throws java.rmi.RemoteException;
           public CustomerArray echoCustomerArr(CustomerArray customerArr)
           throws java.rmi.RemoteException;

          Please stick to the user forum with questions like this.