3 Replies Latest reply on Aug 7, 2011 1:52 AM by Surajit Pal

    org.apache.cxf.binding.soap.SoapTransportFactory.createEndpointInfo

    Theokritos Zafeiriou Newbie

      Hi everyone,

       

      Could you please help me understand what is the following stacktrace indicating? I receive it when I try to build my Service Engine bundle, exactly at the point of wsdl2java conversion.

       

      Microsoft Windows XP

      (C) Copyright 1985-2001 Microsoft Corp.

       

      C:\Documents and Settings\tzafiriou>cd C:\dev\eclipse\operators\repos2\jpapi\tru

      nk\jpapi-se-bundle

       

      C:\dev\eclipse\operators\repos2\jpapi\trunk\jpapi-se-bundle>mvn -e install

      + Error stacktraces are turned on.

      Scanning for projects...

      -


      Building JPAPI SE Bundle

          task-segment:

      -


      cxf-codegen:wsdl2java {execution: default}

      Loading FrontEnd jaxws ...

      Loading DataBinding jaxb ...

      wsdl2java -d C:\dev\eclipse\operators\repos2\jpapi\trunk\jpapi-se-bundle\target\

      jaxws -verbose file:/C:/dev/eclipse/operators/repos2/jpapi/trunk/jpapi-se-bundle

      /src/main/resources/person.wsdl

      wsdl2java - Apache CXF 2.4.0-SNAPSHOT

       

      -


      BUILD ERROR

      -


      org.apache.cxf.binding.soap.SoapTransportFactory.createEndpointInfo(Lorg/

      apache/cxf/service/model/ServiceInfo;Lorg/apache/cxf/service/model/BindingInfo;L

      java/util/List;)Lorg/apache/cxf/service/model/EndpointInfo;

       

      -


      Trace

      org.apache.maven.lifecycle.LifecycleExecutionException: org.apache.cxf.binding.s

      oap.SoapTransportFactory.createEndpointInfo(Lorg/apache/cxf/service/model/Servic

      eInfo;Lorg/apache/cxf/service/model/BindingInfo;Ljava/util/List;)Lorg/apache/cxf

      /service/model/EndpointInfo;

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa

      ultLifecycleExecutor.java:703)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi

      fecycle(DefaultLifecycleExecutor.java:540)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau

      ltLifecycleExecutor.java:519)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan

      dleFailures(DefaultLifecycleExecutor.java:371)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen

      ts(DefaultLifecycleExecutor.java:332)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi

      fecycleExecutor.java:181)

              at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)

              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)

              at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)

              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:597)

              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: org.apache.cxf.bindin

      g.soap.SoapTransportFactory.createEndpointInfo(Lorg/apache/cxf/service/model/Ser

      viceInfo;Lorg/apache/cxf/service/model/BindingInfo;Ljava/util/List;)Lorg/apache/

      cxf/service/model/EndpointInfo;

              at org.apache.cxf.maven_plugin.WSDL2JavaMojo.callWsdl2Java(WSDL2JavaMojo

      .java:413)

              at org.apache.cxf.maven_plugin.WSDL2JavaMojo.execute(WSDL2JavaMojo.java:

      362)

              at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi

      nManager.java:483)

              at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa

      ultLifecycleExecutor.java:678)

              ... 16 more

      Caused by: java.lang.AbstractMethodError: org.apache.cxf.binding.soap.SoapTransp

      ortFactory.createEndpointInfo(Lorg/apache/cxf/service/model/ServiceInfo;Lorg/apa

      che/cxf/service/model/BindingInfo;Ljava/util/List;)Lorg/apache/cxf/service/model

      /EndpointInfo;

              at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildEndpoint(WSDLServiceBui

      lder.java:448)

              at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBui

      lder.java:341)

              at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBui

      lder.java:181)

              at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBui

      lder.java:157)

              at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJav

      aContainer.java:199)

              at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaCon

      tainer.java:138)

              at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaCon

      tainer.java:283)

              at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.ja

      va:103)

              at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:113)

              at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:86)

              at org.apache.cxf.maven_plugin.WSDL2JavaMojo.callWsdl2Java(WSDL2JavaMojo

      .java:410)

              ... 19 more

      -


      Total time: 3 seconds

      Finished at: Wed Mar 09 13:11:47 EET 2011

      Final Memory: 18M/44M

      -


      C:\dev\eclipse\operators\repos2\jpapi\trunk\jpapi-se-bundle>