What about trying to use the WDL 2 java from CXF along with the new
cxf-se component
(which is the same as the jsr181 component, but based on cxf instead
of xfire) ?
If the example comes from CXF, it should be easier....
Cheers,
Guillaume Nodet
On Aug 22, 2007, at 9:38 PM, Paul Hanke wrote:
I was going to try to use the WSDL-first sample as a template for a
WSDL-first project ... the first thing I did was to point the Maven
pom.xml
over at the WSDL I was interested in implementing (the MTOSI 1.1
WSDL from a
CXF sample) ... unfortunately, the XFire WSDL compiler didn't take
too well
to the MTOSI WSDL ... any suggestions?
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: command
execution
failed
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.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(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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: command
execution
fai
led
at
org.apache.servicemix.maven.plugin.xfire.WsgenMojo.exec(WsgenMojo.jav
a:192)
at
org.apache.servicemix.maven.plugin.xfire.WsgenMojo.execute(WsgenMojo.
java:105)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
... 16 more
Caused by: java.lang.NullPointerException
at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:70)
at
org.apache.servicemix.maven.plugin.xfire.WsgenMojo.exec(WsgenMojo.jav
a:190)
... 19 more
Caused by: java.lang.NullPointerException
at
org.codehaus.xfire.wsdl11.parser.SoapBindingAnnotator.visitMessage(So
apBindingAnnotator.java:96)
at
org.codehaus.xfire.wsdl11.parser.SoapBindingAnnotator.visit(SoapBindi
ngAnnotator.java:174)
at
org.codehaus.xfire.wsdl11.parser.WSDLServiceConfigurator.visit(WSDLSe
rviceConfigurator.java:240)
at
org.codehaus.xfire.wsdl11.parser.WSDLServiceConfigurator.configure(WS
DLServiceConfigurator.java:198)
at
org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.build(WSDLService
Builder.java:219)
at
org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:
130)
at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:66)
... 20 more
--
View this message in context: http://www.nabble.com/WSDL-compiler-
hairballs-in-a-WSDL-first-project.-tf4313636s12049.html#a12281492
Sent from the ServiceMix - User mailing list archive at Nabble.com.