Hello, I've posted the question here: https://stackoverflow.com/questions/74577973/how-to-use-array-soap-encoding-type-with-axis2-xmlbeans
I want to use this service: https://farmaciapopular-autorizador.saude.gov.br/farmaciapopular-autorizador/services/ServicoSolicitacaoWS?wsdl <complexType name="ArrayOfMedicamentoDTO"> <complexContent> <restriction base="soapenc:Array"> <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:MedicamentoDTO[]"/> </restriction> </complexContent> </complexType> It generates a class ArrayOfMedicamentoDTO that extentds Array, but there's no way to add items to it. Thanks.