console output attatched... Thanks, Cam
On 7/11/07, Cameron Jones <[EMAIL PROTECTED]> wrote:
hi, i've been having some trouble getting the java2wsdl plugin to generate the wsdl from a java annotated service class, the error i'm getting is: Error : Can not find the ServiceBulider for style: Jaxws Here's the config in my pom: <plugin> <groupId>org.apache.cxf</groupId> <artifactId>cxf-codegen-plugin</artifactId> <version>2.0-incubator-SNAPSHOT</version> <dependencies> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>2.0-incubator-RC-SNAPSHOT</version> </dependency> </dependencies> <executions> <execution> <id>generate-wsdl</id> <phase>process-classes</phase> <configuration> <className>sandbox.web.service.SandboxService</className> </configuration> <goals> <goal>java2wsdl</goal> </goals> </execution> </executions> </plugin> I've been following the instructions on the wiki and found a post on this mailing list which recommended to add the dependency to the plugin configuration - this fixed their problem howvere i'm still seeing the same error after applying this. What's interesting is that in the console output which i've attatched there is an info message saying the state of the classpath before the tool is launched - this contains all of the jar files defined in the project dependencies, however after this there is another info message with the classpath during Java2wsdl which only contains the target classes directory of the project and doesn't even include the dependency explicitly added to the plugin configuration. Am i missing something glaringly obvious?