Hey is someone using this plugin successfully??? I can't interprete the following error ;-(
The wsdl is ok, with the axis 1.4 maven2 Plugin the code gen works! The path to the wsdl is ok! The outputDirectory path is existing! Thanks! [DEBUG] Configuring mojo ' org.apache.axis2.maven2:axis2-wsdl2code-maven-plugin:1.1:wsdl2code' --> [DEBUG] (f) databindingName = adb [DEBUG] (f) generateAllClasses = false [DEBUG] (f) generateServerSide = false [DEBUG] (f) generateServerSideInterface = false [DEBUG] (f) generateServicesXml = false [DEBUG] (f) generateTestcase = false [DEBUG] (f) language = java [DEBUG] (f) outputDirectory = D:\hauschel\ewu\workspaces\activeDevelopment\PPVServiceClient\target [DEBUG] (f) packageName = com.foo.myservice [DEBUG] (f) pluginArtifacts = [jaxen:jaxen:jar:1.1-beta-10:runtime, commons-logging:commons-logging:jar:1.1:runtime, javax.servlet:servlet-api:jar:2.3:runtime, org.apache.ws.commons.axiom:axiom-dom:jar:1.2:runtime, ant:ant:jar: 1.6.5:runtime, log4j:log4j:jar:1.2.12:runtime, org.apache.ws.commons.axiom:axiom-api:jar:20070618.032556-283:runtime, woodstox:wstx-asl:jar:3.0.1:runtime, javax.mail:mail:jar:1.4:runtime, stax:stax-api:jar:1.0.1:runtime, logkit:logkit:jar:1.0.1:runtime, annogen:annogen:jar:0.1.0:runtime, avalon-framework:avalon-framework:jar: 4.1.3:runtime, org.apache.axis2:axis2-kernel:jar:1.1:runtime, org.apache.axis2:axis2-adb:jar:1.1:runtime, org.apache.axis2:axis2-adb-codegen:jar:1.1:runtime, axis:axis-wsdl4j:jar: 1.5.1:compile, org.apache.ws.commons.schema:XmlSchema:jar:1.2:runtime, org.apache.axis2:axis2-codegen:jar:1.1:runtime, org.apache.axis2:axis2-java2wsdl:jar:1.1:runtime, org.apache.ws.commons.axiom:axiom-impl:jar:1.2:runtime, javax.activation:activation:jar:1.1:runtime, xml-apis:xml-apis:jar: 1.3.03:runtime, org.apache.maven:maven-artifact:jar:2.0.4:runtime, org.apache.maven:maven-project:jar:2.0.4:runtime, org.codehaus.plexus:plexus-utils:jar:1.1:runtime, org.apache.maven:maven-plugin-api:jar:2.0.4:runtime] [DEBUG] (f) project = [EMAIL PROTECTED] [DEBUG] (f) syncMode = both [DEBUG] (f) unpackClasses = false [DEBUG] (f) wsdlFile = D:\hauschel\ewu\workspaces\activeDevelopment\PPVServiceClient\src\main\wsdl\Administration.wsdl [DEBUG] -- end configuration -- [INFO] [axis2-wsdl2code:wsdl2code {execution: default}] [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error parsing WSDL (File exists) [INFO] ------------------------------------------------------------------------ [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error parsing WSDL at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error parsing WSDL at org.apache.axis2.maven2.wsdl2code.WSDL2CodeMojo.execute( WSDL2CodeMojo.java:404) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:534) ... 16 more Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>( CodeGenerationEngine.java:116) at org.apache.axis2.maven2.wsdl2code.WSDL2CodeMojo.execute( WSDL2CodeMojo.java:396) ... 18 more Caused by: java.lang.RuntimeException: The specified output location is not a directory! at org.apache.axis2.wsdl.codegen.CodegenConfigLoader.loadConfig( CodegenConfigLoader.java:164) at org.apache.axis2.wsdl.codegen.CodeGenConfiguration.<init>( CodeGenConfiguration.java:371) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>( CodeGenerationEngine.java:85) ... 19 more Caused by: java.io.FileNotFoundException: (File exists) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at org.apache.axis2.wsdl.codegen.CodegenConfigLoader.loadConfig( CodegenConfigLoader.java:161) ... 21 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 39 seconds [INFO] Finished at: Mon Jun 18 10:36:07 CEST 2007 [INFO] Final Memory: 12M/23M [INFO] ------------------------------------------------------------------------ -- Mit freundlichen Grüßen Fred Robert Hauschel +49 179 6917092