Axis 1.4 (the latest Axis 1.x that exists) has a bug when trying to convert byte arrays to Strings. This creeps up on certain calls such as Catalog.SSL.Certificates.getRawCertificate. You will encounter an ArrayStoreException when you invoke it using the Java code generated by Axis if your certificates in Zeus are stored in binary. To work around this, change the return type to byte[][]. This has to be done in the BindingStub on the setReturnClass call and on the method itself (e.g. getRawCertificates(..)). Change the return type and any relevant casts to byte[][]. Also change the return type on the Port interface class. One can also change the types to Axis' ArrayDeserializer.ArrayListExtension or just a java.util.List and this will avoid letting Axis try to convert it. Then you can loop through the list yourself and use the values.
... View more