From: Gustavo Martin Morcuende Date: Sat, 19 Dec 2015 23:35:48 +0000 (+0100) Subject: jaxb2: web-services-spring-jaxb2-client using @Service annotation and creating schema... X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=132a088e74cd9f463265ed1e78892173c967ccd8;p=SpringWebServicesForFun%2F.git jaxb2: web-services-spring-jaxb2-client using @Service annotation and creating schemas directory --- diff --git a/jaxb2/web-services-spring-jaxb2-client/src/main/java/de/spring/webservices/client/ExampleClientService.java b/jaxb2/web-services-spring-jaxb2-client/src/main/java/de/spring/webservices/client/ExampleClientService.java index df603df..309a461 100644 --- a/jaxb2/web-services-spring-jaxb2-client/src/main/java/de/spring/webservices/client/ExampleClientService.java +++ b/jaxb2/web-services-spring-jaxb2-client/src/main/java/de/spring/webservices/client/ExampleClientService.java @@ -1,6 +1,7 @@ package de.spring.webservices.client; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; import org.springframework.ws.client.core.WebServiceTemplate; import de.spring.webservices.auto.CustomBindingExampleRequest; @@ -16,6 +17,7 @@ import de.spring.webservices.auto.ExampleResponse; * information from our Web Services. * */ +@Service public class ExampleClientService { private final WebServiceTemplate webServiceTemplate; diff --git a/jaxb2/web-services-spring-jaxb2-client/src/main/resources/examples.xsd b/jaxb2/web-services-spring-jaxb2-client/src/main/resources/examples.xsd deleted file mode 100644 index 96c3737..0000000 --- a/jaxb2/web-services-spring-jaxb2-client/src/main/resources/examples.xsd +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - @java.lang.SuppressWarnings({"unchecked","rawtypes"}) - de.spring.webservices.operations.Request - - - - - - - - - - - - de.spring.webservices.operations.Response - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/jaxb2/web-services-spring-jaxb2-client/src/main/resources/schemas/examples.xsd b/jaxb2/web-services-spring-jaxb2-client/src/main/resources/schemas/examples.xsd new file mode 100644 index 0000000..e73313a --- /dev/null +++ b/jaxb2/web-services-spring-jaxb2-client/src/main/resources/schemas/examples.xsd @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + @java.lang.SuppressWarnings({"unchecked","rawtypes"}) + de.spring.webservices.operations.Request + + + + + + + + + + + + de.spring.webservices.operations.Response + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/jaxb2/web-services-spring-jaxb2-client/src/main/resources/spring-configuration/ws/client-spring-configuration.xml b/jaxb2/web-services-spring-jaxb2-client/src/main/resources/spring-configuration/ws/client-spring-configuration.xml index 785d2db..7d43bae 100644 --- a/jaxb2/web-services-spring-jaxb2-client/src/main/resources/spring-configuration/ws/client-spring-configuration.xml +++ b/jaxb2/web-services-spring-jaxb2-client/src/main/resources/spring-configuration/ws/client-spring-configuration.xml @@ -23,13 +23,34 @@ receive data from the Web Services. --> - + - - - - + + + + + -->