Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Maven dependency to spring-ws

  1. #11
    Join Date
    Dec 2009
    Posts
    5

    Default

    I had the same issue and i added the following dependency

    Code:
    <dependency>
      <groupId>org.springframework.ws</groupId>
      <artifactId>spring-ws</artifactId>
      <version>1.5.8</version>
      <type>pom</type>
    </dependency>
    I got the same error again then and i randomly set the TTL value to 10000000000 ms and its working now.

    I guess wss4j 1.5.8 still has the issue with Timestamp

  2. #12
    Join Date
    Nov 2010
    Location
    Utrecht, Netherlands
    Posts
    7

    Default

    Heya, a bit late but even with 1.5.9 version this issue remains: you just can't use the "<artifactId>spring-ws</artifactId>" element as Maven start to whine that it can't resolve it. It's too bad these things are not so clearly documented, but I've managed to solve it (for me) by describing multiple artifacts.

    Here's my piece from my pom with spring.version set on 1.5.9:

    Code:
    <!-- Spring framework -->
    <dependency>
    	<groupId>org.springframework.ws</groupId>
    	<artifactId>spring-ws-core</artifactId>
    	<version>${spring.version}</version>
    </dependency>
    <dependency>
    	<groupId>org.springframework.ws</groupId>
    	<artifactId>spring-oxm</artifactId>
    	<version>${spring.version}</version>
    </dependency>
    <dependency>
    	<groupId>org.springframework.ws</groupId>
    	<artifactId>spring-ws-core-tiger</artifactId>
    	<version>${spring.version}</version>
    </dependency>
    I needed Spring-ws just for annotations, for which I required the spring-ws-core-tiger artifactId. So, if you require other specific libraries/artifacts and the piece above doesn't work for you, you might want to try the other artificts (you can find those in the maven repo).

    Still, I don't get it why spring-ws doesn't work as there is a JAR file present in the maven repo (1.5.9-all.jar).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •