From 76e0b6a97b7648d8a7e79ae6b84799c3cf32c402 Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Sun, 27 Dec 2015 03:48:05 +0100 Subject: [PATCH] jaxb and cxf: trying to make work Eclipse XML validations (no way) --- .../build-resources/bindings/custombinding.xjb | 10 +- .../src/main/build-resources/wsdl/example.wsdl | 158 ++++++++++---------- .../src/main/resources/examples.xsd | 163 +++++++++++---------- .../src/main/resources/parent.xsd | 69 ++++----- .../build-resources/bindings/custombinding.xjb | 4 +- .../src/main/resources/examples.xsd | 163 +++++++++++---------- .../src/main/build-resources/wsdl/example.wsdl | 158 ++++++++++---------- .../src/main/resources/schemas/examples.xsd | 163 +++++++++++---------- .../src/main/resources/schemas/parent.xsd | 69 ++++----- .../build-resources/bindings/custombinding.xjb | 4 +- .../src/main/resources/schemas/examples.xsd | 163 +++++++++++---------- 11 files changed, 565 insertions(+), 559 deletions(-) diff --git a/cxf/web-services-spring-cxf-client/src/main/build-resources/bindings/custombinding.xjb b/cxf/web-services-spring-cxf-client/src/main/build-resources/bindings/custombinding.xjb index 38ddbe1..d573e11 100644 --- a/cxf/web-services-spring-cxf-client/src/main/build-resources/bindings/custombinding.xjb +++ b/cxf/web-services-spring-cxf-client/src/main/build-resources/bindings/custombinding.xjb @@ -1,6 +1,6 @@ + node="wsdl:definitions/wsdl:types/xsd:schema[@targetNamespace='http://gumartinm.name/spring-ws/example']"> - + - - - - + + + + @java.lang.SuppressWarnings({"unchecked","rawtypes"}) de.spring.webservices.operations.Request - - - - - - - - - - - + + + + + + + + + + + de.spring.webservices.operations.Response - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - + diff --git a/cxf/web-services-spring-cxf-client/src/main/resources/examples.xsd b/cxf/web-services-spring-cxf-client/src/main/resources/examples.xsd index e419711..59cd317 100644 --- a/cxf/web-services-spring-cxf-client/src/main/resources/examples.xsd +++ b/cxf/web-services-spring-cxf-client/src/main/resources/examples.xsd @@ -1,29 +1,30 @@  - + attributeFormDefault="unqualified"> - + - - - - + + + + @java.lang.SuppressWarnings({"unchecked","rawtypes"}) de.spring.webservices.operations.Request - - - - - - - - - - - + + + + + + + + + + + de.spring.webservices.operations.Response - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - + diff --git a/cxf/web-services-spring-cxf-globalxsds/src/main/resources/parent.xsd b/cxf/web-services-spring-cxf-globalxsds/src/main/resources/parent.xsd index 165c6fd..b38ca36 100644 --- a/cxf/web-services-spring-cxf-globalxsds/src/main/resources/parent.xsd +++ b/cxf/web-services-spring-cxf-globalxsds/src/main/resources/parent.xsd @@ -1,48 +1,49 @@ - - + - - - - - - - - - + + + + + + + + + - - - - - + + + + + - - - - - - + + + + + + - - - - - - - - + + + + + + + + - + diff --git a/cxf/web-services-spring-cxf-server/src/main/build-resources/bindings/custombinding.xjb b/cxf/web-services-spring-cxf-server/src/main/build-resources/bindings/custombinding.xjb index a1430d5..60740a4 100644 --- a/cxf/web-services-spring-cxf-server/src/main/build-resources/bindings/custombinding.xjb +++ b/cxf/web-services-spring-cxf-server/src/main/build-resources/bindings/custombinding.xjb @@ -40,12 +40,12 @@ - + name="java.util.Date" xmlType="xsd:dateTime" /> diff --git a/cxf/web-services-spring-cxf-server/src/main/resources/examples.xsd b/cxf/web-services-spring-cxf-server/src/main/resources/examples.xsd index e419711..59cd317 100644 --- a/cxf/web-services-spring-cxf-server/src/main/resources/examples.xsd +++ b/cxf/web-services-spring-cxf-server/src/main/resources/examples.xsd @@ -1,29 +1,30 @@  - + attributeFormDefault="unqualified"> - + - - - - + + + + @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/build-resources/wsdl/example.wsdl b/jaxb2/web-services-spring-jaxb2-client/src/main/build-resources/wsdl/example.wsdl index 2018a37..202d87b 100644 --- a/jaxb2/web-services-spring-jaxb2-client/src/main/build-resources/wsdl/example.wsdl +++ b/jaxb2/web-services-spring-jaxb2-client/src/main/build-resources/wsdl/example.wsdl @@ -1,21 +1,21 @@ - + - + - - - - + + + + @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 index e419711..59cd317 100644 --- 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 @@ -1,29 +1,30 @@  - + attributeFormDefault="unqualified"> - + - - - - + + + + @java.lang.SuppressWarnings({"unchecked","rawtypes"}) de.spring.webservices.operations.Request - - - - - - - - - - - + + + + + + + + + + + de.spring.webservices.operations.Response - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - + diff --git a/jaxb2/web-services-spring-jaxb2-globalxsds/src/main/resources/schemas/parent.xsd b/jaxb2/web-services-spring-jaxb2-globalxsds/src/main/resources/schemas/parent.xsd index 165c6fd..b38ca36 100644 --- a/jaxb2/web-services-spring-jaxb2-globalxsds/src/main/resources/schemas/parent.xsd +++ b/jaxb2/web-services-spring-jaxb2-globalxsds/src/main/resources/schemas/parent.xsd @@ -1,48 +1,49 @@ - - + - - - - - - - - - + + + + + + + + + - - - - - + + + + + - - - - - - + + + + + + - - - - - - - - + + + + + + + + - + diff --git a/jaxb2/web-services-spring-jaxb2-server/src/main/build-resources/bindings/custombinding.xjb b/jaxb2/web-services-spring-jaxb2-server/src/main/build-resources/bindings/custombinding.xjb index 1363870..a7164c0 100644 --- a/jaxb2/web-services-spring-jaxb2-server/src/main/build-resources/bindings/custombinding.xjb +++ b/jaxb2/web-services-spring-jaxb2-server/src/main/build-resources/bindings/custombinding.xjb @@ -40,12 +40,12 @@ - + name="java.util.Date" xmlType="xsd:dateTime" /> diff --git a/jaxb2/web-services-spring-jaxb2-server/src/main/resources/schemas/examples.xsd b/jaxb2/web-services-spring-jaxb2-server/src/main/resources/schemas/examples.xsd index e419711..59cd317 100644 --- a/jaxb2/web-services-spring-jaxb2-server/src/main/resources/schemas/examples.xsd +++ b/jaxb2/web-services-spring-jaxb2-server/src/main/resources/schemas/examples.xsd @@ -1,29 +1,30 @@  - + attributeFormDefault="unqualified"> - + - - - - + + + + @java.lang.SuppressWarnings({"unchecked","rawtypes"}) de.spring.webservices.operations.Request - - - - - - - - - - - + + + + + + + + + + + de.spring.webservices.operations.Response - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - + -- 2.1.4