You can get the class loader and read the file using getResource as stream. Once you ask for the class loader it will give you the class loader that Axis2 has used to load the your service class.
Thanks. Deepal On Tue, Aug 2, 2011 at 10:33 AM, Denise Wu <wadie...@gmail.com> wrote: > Hi, > > I have a "mySchema.xsd" located in the META-INF directory in the > webservice archive file myService.aar. > I would like to read this file "mySchema.xsd" in my webservice class. > How to access it at runtime? > > Thank you. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org > For additional commands, e-mail: java-user-h...@axis.apache.org > > -- http://blogs.deepal.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org