From 376eeacea2e6787e23b0fcadb91dd325bb185f37 Mon Sep 17 00:00:00 2001 From: "gu.martinm@gmail.com" Date: Wed, 20 May 2015 23:06:14 +0200 Subject: [PATCH] No time for comments --- README.md | 2 + pom.xml | 20 ++++++++-- src/main/resources/spring-configuration.xml | 61 +++++++++++++++++------------ 3 files changed, 56 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 1e22fa1..acf8a71 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,5 @@ mvn war:war mvn jetty:run TODO: custom bindings when creating Java code from wsdl. + +For debugging: export MAVEN_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y" diff --git a/pom.xml b/pom.xml index 298f6ab..fc0e355 100644 --- a/pom.xml +++ b/pom.xml @@ -24,9 +24,9 @@ ${basedir}/target/generated-sources/src/main/java de.spring.webservices.auto src/main/resources/wsdl - 2.1.0.RELEASE + 2.2.1.RELEASE UTF-8 - 3.1.1.RELEASE + 4.1.6.RELEASE ${basedir}/target/jetty @@ -48,6 +48,20 @@ ${spring.ws.version} test + + org.springframework + spring-test + ${spring.version} + test + + + + + wsdl4j + wsdl4j + 1.6.3 + + org.jdom jdom @@ -160,7 +174,7 @@ junit junit - 4.10 + 4.12 test diff --git a/src/main/resources/spring-configuration.xml b/src/main/resources/spring-configuration.xml index 0d81fa1..ec5aa9a 100644 --- a/src/main/resources/spring-configuration.xml +++ b/src/main/resources/spring-configuration.xml @@ -3,12 +3,16 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:sws="http://www.springframework.org/schema/web-services" + xmlns:util="http://www.springframework.org/schema/util" + xsi:schemaLocation="http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans-3.1.xsd - http://www.springframework.org/schema/web-services - http://www.springframework.org/schema/web-services/web-services-2.0.xsd - http://www.springframework.org/schema/context - http://www.springframework.org/schema/context/spring-context-3.1.xsd"> + http://www.springframework.org/schema/beans/spring-beans.xsd + http://www.springframework.org/schema/web-services + http://www.springframework.org/schema/web-services/web-services.xsd + http://www.springframework.org/schema/context + http://www.springframework.org/schema/context/spring-context.xsd + http://www.springframework.org/schema/util + http://www.springframework.org/schema/util/spring-util.xsd"> @@ -31,34 +35,43 @@ Spring makes the WSDL file for us from the XSD file. Launch the Jetty server and download WSDL file from this URL: http://127.0.0.1:8888/spring-ws/example/example.wsdl --> - + - + + + + + + + + + - - - - - - - - + + + + + + + -- 2.1.4