Announcement Announcement Module
Collapse
No announcement yet.
spring-ws-2.1.0.RELEASE samples are broken Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring-ws-2.1.0.RELEASE samples are broken

    As far as I can tell anyway. I should start out by pointing out that I know certain aspects of Spring Framework fairly well like dependency injection and use of the ApplicationContex, but there other parts that I am not as familiar with. Also, I am more accustomed to ANT than Maven, and I am having a hard time figuring out how to debug build issues in Maven.

    I really like using the Spring Framework and I am interested in learning to use and evaluate several of the other projects that that are built on top of it. Right now have spent a while looking at the Spring WS project and I would like to look at the samples to get a better understanding. Unfortunately, I can't get any of them to build.

    I first tried to build (based on the instructions in the readme.txt) on the CLI with:

    Code:
    /ws_spring/spring-ws-2.1.0.RELEASE/samples$ mvn package
    But I get this error:

    Code:
    parsing WSDL...
    
    
    [ERROR] file:/Users/michaels/sandbox/springsource/ws_spring/spring-ws-2.1.0.RELEASE/samples/mtom/client/jax-ws/mtom.wsdl is unreachable
    
    
    	Failed to parse the WSDL.
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO] 
    [INFO] Spring WS Samples ................................. SUCCESS [0.005s]
    [INFO] Spring WS Echo Sample ............................. SUCCESS [0.004s]
    [INFO] Spring WS Echo Sample - Server .................... SUCCESS [11.115s]
    [INFO] Spring WS Echo Sample - Clients ................... SUCCESS [0.006s]
    [INFO] Spring WS Echo Sample - SAAJ Client ............... SUCCESS [1.371s]
    [INFO] Spring WS Echo Sample - Spring-WS Client .......... SUCCESS [0.779s]
    [INFO] Spring WS Holiday Service Tutorial ................ SUCCESS [9.108s]
    [INFO] Spring WS MTOM Sample ............................. SUCCESS [0.002s]
    [INFO] Spring WS MTOM Sample - Server .................... SUCCESS [7.311s]
    [INFO] Spring WS MTOM Sample - Clients ................... SUCCESS [0.114s]
    [INFO] Spring WS MTOM Sample - JAX-WS Client ............. FAILURE [1.625s]
    [INFO] Spring WS MTOM Sample - Spring-WS Client .......... SKIPPED
    [INFO] Spring WS POX Sample .............................. SKIPPED
    [INFO] Spring WS POX Sample - Server ..................... SKIPPED
    [INFO] Spring WS POX Sample - Clients .................... SKIPPED
    [INFO] Spring WS POX Sample - Spring-WS Client ........... SKIPPED
    [INFO] Spring WS Stock Quote Sample ...................... SKIPPED
    [INFO] Spring WS Stock Quote Sample - Server ............. SKIPPED
    [INFO] Spring WS Stock Quote Sample - Clients ............ SKIPPED
    [INFO] Spring WS Stock Quote Sample - JAX-WS Client ...... SKIPPED
    [INFO] Spring WS Stock Quote Sample - Spring-WS Client ... SKIPPED
    [INFO] Spring WS Airline Sample .......................... SKIPPED
    [INFO] Spring WS Airline Sample - Server ................. SKIPPED
    [INFO] Spring WS Airline Sample - Clients ................ SKIPPED
    [INFO] Spring WS Airline Sample - SAAJ Client ............ SKIPPED
    [INFO] Spring WS Airline Sample - Axis 1 Client .......... SKIPPED
    [INFO] Spring WS Airline Sample - Spring-WS Client ....... SKIPPED
    [INFO] Spring WS Airline Sample - JMS Client ............. SKIPPED
    [INFO] Spring WS Airline Sample - JAX-WS Client .......... SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 33.652s
    [INFO] Finished at: Thu Aug 02 10:02:08 EDT 2012
    [INFO] Final Memory: 11M/81M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.codehaus.mojo:jaxws-maven-plugin:1.10:wsimport (default) on project mtom-jax-ws-client: Error executing: wsimport [-s, /Users/michaels/sandbox/springsource/ws_spring/spring-ws-2.1.0.RELEASE/samples/mtom/client/jax-ws/target/jaxws/wsimport/java, -d, /Users/michaels/sandbox/springsource/ws_spring/spring-ws-2.1.0.RELEASE/samples/mtom/client/jax-ws/target/classes, -p, org.springframework.ws.samples.mtom.client.jaxws, file:///Users/michaels/sandbox/springsource/ws_spring/spring-ws-2.1.0.RELEASE/samples/mtom/client/jax-ws/mtom.wsdl] -> [Help 1]
    [ERROR] 
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR] 
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
    [ERROR] 
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR]   mvn <goals> -rf :mtom-jax-ws-client
    Then I tried using the Eclipse plugin M2Eclipse as suggested in the Green Beans article, but it has errors also:

    [attach]
    Attachment
    [/attach]

    I also tried just creating the project normally in Eclipse. None of the schema objects seem to be created, and their are countless other errors. There is no ANT for me to look at, so, I'm kind of stuck.

    Are these samples no longer supported?
    Are there developers who have them working in this release?
    Am I doing something wrong?

    I appreciate any help that the community can provide.
    Attached Files
Working...
X