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

    specify typemappings

    joy

      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
          arohil

          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