I am trying to consume a remote web service from my EJB running inside JBoss. I want to
use ServiceFactoryImp class and am packging "wsdl" and
"jaxrpc-mapping.xml" files inside my EJB JAR file as
| META-INF/wsdl/<my-wsdl-file>
| META-INF/jaxrpc-mapping.xml
How do I create the URLs for these files for passing to createService() method of
ServiceFactoryImpl class, since EJB specs forbid direct file access?
I have tried following, but it returns null URLs
ClassLoader cl = Thread.currentThread().getContextClassLoader();
| URL mappingURL = cl.getResource("jaxrpc-mapping.xml");
| URL wsdlLocationUrl = cl.getResource("enms.wsdl");
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990270#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...