Hi all, Using Axis2 1.0, have run into a bug getting the namespace for a service from its class name. The method is declared as:
public static StringBuffer namespaceFromClassName(String className , ClassLoader classLoader) throws Exception { return namespaceFromPackageName(Class.forName(className, true, classLoader).getPackage().getName()); } Unfortunately, this will throw a NPE if Class.getPackage() returns null. This will happen in a number of situations, most obviously where the class has no package, but also where it has a package which was not created by the Axis deployment classloader. I'm looking into the problem at the moment, and might be brave enough to suggest a fix if one is readily apparent. How does one go about submitting patches to Apache projects? Cheers, steve -- Steve Barham tel: +44 (0)7973 199 471 Systems Engineer Formicary - delivering quality financial technology solutions http://www.formicary.net/