Hi, it should work
maybe give it a try on the snapshot to be sure it is an issue we have *Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/10/9 Poindexter, Miles <[email protected]> > Can a class load a file in TomEE like this? > URL wsdlLocation = > this.getClass().getClassLoader().getResource("META-INF/enterprise.wsdl"); > > This doesn't seem to work TomEE+ 1.5. But it does work in Tomcat 7. > I'll start testing this more today, but for now, in order to get the web > service running in TomEE, I changed the code to load the wsdl file like > this: > > URL wsdlLocation = new URL("file:/app/wsdl/enterprise.wsdl"); > > Miles > > -- > Miles Poindexter > Data & Service Architecture > Condé Nast > ph: 212-790-6692 > mobile: 347-967-8944 > fax: 212-790-1891 > [email protected] > <applewebdata://6D7C2D39-4D16-42A7-8457-9A8FCE0ED464/ > [email protected]> > > >
