Hi
Just discovered a problem to do with attachments : Running Axis Beta 2 on Tomcat 3.2.1 We did not have mail.jar in the classpath. although the Message class reported that attachments were disabled when running with debug on, we missed it :-) when calling a method returning an attachment, the servlet just gets an NPE. this due to the return value treated as a mutli-ref not an attachment. this works with tomcat 4.xx as the mail.jar classes are in the path ( I suspect ) So the bug is : Axis beta 2 fails with an NPE when attempting to handle a Java RPC method with a returned attachment if attachments support is switched off . it should report the mismatch e.g. "trying to invoke a method returning an attachment when attachment support is disabled" and fail gracefully. Regards Zohar Melamed Golbal Markets Technology Group BNP Paribas This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. --------------------------------------------- Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie.