Camel
  1. Camel
  2. CAMEL-3659

Upgrade to Spring Web Services 2.0

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Spring Web Services 2.0 is out. It requires Spring 3 as minimum so it fits Camel 2.7 nicely.

      The upgrade is very simple, we only need to change the version number in the POM of camel-parent. I've run all unit tests and done some manual testing using camel-example-spring-ws and everything looks ok.

        Issue Links

          Activity

          Christian Müller made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Won't Fix [ 2 ]
          Christian Müller made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Christian Müller made changes -
          Comment [ With 1.5.9, we got the following exception:
          {code}
          [WARNING] Failed to validate feature camel-spring-ws
          [WARNING] No export found to match org.springframework.oxm;version="[1.5.9,1.5.9]" (imported by mvn:org.springframework.ws/spring-ws-core/1.5.9)
          [WARNING] No export found to match org.springframework.oxm.mime;version="[1.5.9,1.5.9]" (imported by mvn:org.springframework.ws/spring-ws-core/1.5.9)
          java.lang.Exception: 2 unresolved imports in feature camel-spring-ws
                  at org.apache.karaf.tooling.features.ValidateFeaturesMojo.validateImportsExports(ValidateFeaturesMojo.java:396)
                  at org.apache.karaf.tooling.features.ValidateFeaturesMojo.validateImportsExports(ValidateFeaturesMojo.java:342)
                  at org.apache.karaf.tooling.features.ValidateFeaturesMojo.validate(ValidateFeaturesMojo.java:217)
                  at org.apache.karaf.tooling.features.ValidateFeaturesMojo.execute(ValidateFeaturesMojo.java:155)
                  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
                  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
                  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
                  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
                  at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
                  at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
                  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
                  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
                  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534)
                  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
                  at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
                  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:597)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
                  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
          {code}

          spring-ws-core imports org.springframework.oxm version 1.5.9, but should be 3.0, in my opinion.

          I think camel-spring-ws 2.6 also doesn't work in OSGI. Will update the wiki page...

          I think we should stick with 2.0.0.RELEASE. ]
          Claus Ibsen made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Claus Ibsen made changes -
          Link This issue is related to CAMEL-3735 [ CAMEL-3735 ]
          Christian Müller made changes -
          Link This issue relates to CAMEL-3307 [ CAMEL-3307 ]
          Christian Müller made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Edstrom Johan made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Richard Kettelerij made changes -
          Link This issue is part of CAMEL-3604 [ CAMEL-3604 ]
          Richard Kettelerij made changes -
          Field Original Value New Value
          Attachment camel-parent-spring-ws-upgrade.patch [ 12470916 ]
          Richard Kettelerij created issue -

            People

            • Assignee:
              Richard Kettelerij
              Reporter:
              Richard Kettelerij
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development