*** D:\OSS\webservice\xfire-src-1.1\xfire-spring\src\main\org\codehaus\xfire\spring\ServiceBean.java Tue May 02 16:39:32 2006 --- D:\work3\xfire-1.1\xfire-spring\src\main\org\codehaus\xfire\spring\ServiceBean.java Wed May 24 13:41:02 2006 *************** *** 25,30 **** --- 25,32 ---- import org.springframework.beans.factory.InitializingBean; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; + import org.springframework.core.io.ClassPathResource; + /** * A convenience bean which creates a Service from a ServiceFactory instance. If there is no *************** *** 205,211 **** if (wsdlURL != null) { ! xfireService.setWSDLWriter(new ResourceWSDL(wsdlURL)); } // Register the service --- 207,220 ---- if (wsdlURL != null) { ! if(wsdlURL.startsWith("classpath:")) ! { ! xfireService.setWSDLWriter(new ResourceWSDL(new ClassPathResource(wsdlURL.substring(10)).getURL())); ! } ! else ! { ! xfireService.setWSDLWriter(new ResourceWSDL(wsdlURL)); ! } } // Register the service