On Thu April 2 2009 8:59:32 am Steve Schwartz wrote: > I hope that this isn't too obvious a question, but I haven't been able to > find an answer in either the documentation or the forums. > > I have a Maven Java-first project that uses cxf-java2ws-plugin to generate > WSDL files, and maven-bundle-plugin to create an OSGi bundle. I then > deploy the bundle to FUSE (ServiceMix) ESB 4, which uses its CXF feature to > front the web service. Where (how) is the WSDL used by the web service > maintained? > > Maven generates WSDL files, but these files are not placed in the bundle's > JAR file. While the web service is running in the ESB, I cannot find any > relevant WSDL files in the ESB's directory tree, especially in this > specific bundle's subdirectory. Is the WSDL regenerated by CXF when the > web service bundle is installed or started? Is it maintained as an > in-memory structure, rather than as a file?
If the wsdl isn't stuck in the bundle and referenced from there (via wsdlLocation attribute or spring-dm config), then it most likely is regenerated as needed at runtime. Normally, that would be the first time someone does ?wsdl. You could probably get the wsdl to be added to the bundle somehow. Not really sure. Probably have it generate into a resources directory or similar. -- Daniel Kulp [email protected] http://www.dankulp.com/blog
