You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Richard Kettelerij (JIRA)" <ji...@apache.org> on 2011/04/10 16:58:05 UTC

[jira] [Issue Comment Edited] (CAMEL-3735) Upgrade to Spring WS 2.0.1 with OSGi fix

    [ https://issues.apache.org/jira/browse/CAMEL-3735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018091#comment-13018091 ] 

Richard Kettelerij edited comment on CAMEL-3735 at 4/10/11 2:57 PM:
--------------------------------------------------------------------

I've taken a stab at this issue: upgraded to Spring-WS 2.0.1 and updated the Karaf features file (see attached patch). 

However there might be an issue with this patch: Spring-WS requires amongst others "javax.xml.transform.stax" as a mandatory import. Running {{mvn -Pvalidate clean install}} on features.xml fails with "No export found to match javax.xml.transform.stax;version=0". Adding the ServiceMix StAX spec as a dependency makes no difference. 

The only solution I could find was to switch Karaf to Java 1.6, like I did in the attached patch. Would that be a problem for Camel? Camel 2.7+ only supports Java 1.6 but the latest Karaf version (2.2) still supports Java 1.5?

Furthermore the {{CamelSpringWebServiceTest}} test written by Claus in CAMEL-3307 still fails under Spring-WS 2.0.1, this was also the case with Spring-WS 1.5.9....

      was (Author: rkettelerij):
    I've taken a stab at this issue: upgraded to Spring-WS 2.0.1 and updated the Karaf features file (see attached patch). 

However there might be an issue with this patch: Spring-WS requires amongst others "javax.xml.transform.stax" as a mandatory import. Running {{mvn -Pvalidate clean install}} fails with "No export found to match javax.xml.transform.stax;version=0". Adding the ServiceMix StAX spec as a dependency makes no difference. 

The only solution I could find was to switch Karaf to Java 1.6, like I did in the attached patch. Would that be a problem for Camel? Camel 2.7+ only supports Java 1.6 but the latest Karaf version (2.2) still supports Java 1.5?

Furthermore the {{CamelSpringWebServiceTest}} test written by Claus in CAMEL-3307 still fails under Spring-WS 2.0.1, this was also the case with Spring-WS 1.5.9....
  
> Upgrade to Spring WS 2.0.1 with OSGi fix
> ----------------------------------------
>
>                 Key: CAMEL-3735
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3735
>             Project: Camel
>          Issue Type: Task
>          Components: osgi
>    Affects Versions: 2.7.0
>            Reporter: Claus Ibsen
>            Assignee: Richard Kettelerij
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-3735-v1.patch
>
>
> Spring WS 2.0.0 release is not OSGi compliant.
> When it's OSGi compliant we should upgrade the camel-spring-ws feature, which currently use the old 1.5.9 release.
> There is TODO in the features.xml and pom.xml file in platforms/karaf/features dir.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira