Results 1 to 4 of 4

Thread: Spring-WS in STS

  1. #1
    Join Date
    Jan 2010
    Posts
    15

    Default Spring-WS in STS

    Hi all!
    I just only wonder, what Spring Template Project should I pick when I want to develop Spring-WS? Or should I just create Spring project and add all dependecies by myself?

    Regards,

    Zdenek

    P.S.: I know this is a bit silly post

  2. #2
    Join Date
    Jan 2010
    Posts
    15

    Default

    For anyone, who will find this: There is no suitable Spring Template Project in STS for Spring-WS. Use maven archetype (it's somewhere in docs)!

    Please admins: Lock this thread.

  3. #3
    Join Date
    Feb 2010
    Posts
    12

    Default

    The archetype you are looking for is: "spring-ws-archetype" . To use it you create a new maven project and select that as the archetype, specifying the group and artifact Id's along the way. You may want to check the checkbox at the bottom of the dialogue to get STS to display all the available versions of the archetype if you want to specify the use of anything other than the latests most upto date version (I use version 1.5.9 - it seems to create the project without any errors).

    I have noted though that this maven archetype seems to want to set the project up as a java 1.4 project (which may be problematic if you want to use any 1.5+ features like annotations) - and I have had issues running the project (on a tomcat 6 server) from within STS - I haven't worked out why...

  4. #4
    Join Date
    Dec 2010
    Posts
    2

    Default repository for spring-ws-archetype

    Make sure to use a snapshot repo url while the 2.0 service is not yet released in GA or else sts wont find the archetype. The one i used was http://s3.amazonaws.com/maven.spring....org/milestone
    "http://s3.amazonaws.com/maven.springframework.org/milestone"
    Last edited by adamtarshis; Jan 5th, 2011 at 03:00 AM.

Posting Permissions

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