1 Reply Latest reply on Oct 16, 2002 10:26 AM by Oriol

    specify typemappings

    Miguel Newbie

      Hello,

      I am trying to run an EJB as a web service under JBoss.

      How to use a Collection serialization when the web service return a collection of bean objects ?

      Thanks.

      Miguel

        • 1. Re: specify typemappings
          Oriol Newbie

          Hello Valdes!

          Axis has automatic two-way conversions between Java Collections and SOAP Arrays.

          Client example:

          call.setReturnClass(Collection.class);
          Collection ret =(Collection) call.invoke( new Object[] {} );

          Bye