Problems (some XSD Eclipse tools stop working) when using HTTPS instead of HTTP....
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Sun, 17 Jul 2016 16:47:18 +0000 (18:47 +0200)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Sun, 17 Jul 2016 16:47:18 +0000 (18:47 +0200)
16 files changed:
SOAP/cxf/web-services-spring-cxf-client/src/main/build-resources/catalogs/catalog.cat
SOAP/cxf/web-services-spring-cxf-client/src/main/build-resources/wsdl/example.wsdl
SOAP/cxf/web-services-spring-cxf-client/src/main/java/de/spring/webservices/client/CustomFaultMessageResolver.java
SOAP/cxf/web-services-spring-cxf-client/src/main/java/de/spring/webservices/client/ExampleClientService.java
SOAP/cxf/web-services-spring-cxf-client/src/main/java/de/spring/webservices/client/MainTest.java
SOAP/cxf/web-services-spring-cxf-client/src/main/resources/examples.xsd
SOAP/cxf/web-services-spring-cxf-client/src/main/resources/spring-configuration/ws/client-spring-configuration.xml
SOAP/cxf/web-services-spring-cxf-globalxsds/src/main/resources/parent.xsd
SOAP/cxf/web-services-spring-cxf-server/src/main/build-resources/catalogs/catalog.cat
SOAP/cxf/web-services-spring-cxf-server/src/main/resources/examples.xsd
SOAP/jaxb2/web-services-spring-jaxb2-client/src/main/build-resources/catalogs/catalog.cat
SOAP/jaxb2/web-services-spring-jaxb2-client/src/main/build-resources/wsdl/example.wsdl
SOAP/jaxb2/web-services-spring-jaxb2-client/src/main/resources/schemas/examples.xsd
SOAP/jaxb2/web-services-spring-jaxb2-globalxsds/src/main/resources/schemas/parent.xsd
SOAP/jaxb2/web-services-spring-jaxb2-server/src/main/build-resources/catalogs/catalog.cat
SOAP/jaxb2/web-services-spring-jaxb2-server/src/main/resources/schemas/examples.xsd

index 4bc1c66..1573fe3 100644 (file)
 
 
     <!-- I JUST NEED THIS CONFIGURATION, ANYHOW I AM WRITING ALL OF THEM -->
-    <rewriteSystem systemIdStartString="http://gumartinm.name/spring-ws/parent"
+    <rewriteSystem systemIdStartString="http://schemas.gumartinm.name/spring-ws/parent"
                    rewritePrefix="classpath:parent.xsd"/>
 
 
     <!-- THE FOLLOWING ONES ARE NOT REQUIRED EVEN IF I AM WRITING THEM -->
     <public
-        publicId="http://gumartinm.name/spring-ws/parent"
+        publicId="http://schemas.gumartinm.name/spring-ws/parent"
         uri="classpath:parent.xsd"/>
 
 
     <system
-        systemId="http://gumartinm.name/spring-ws/parent/parent.xsd"
+        systemId="http://schemas.gumartinm.name/spring-ws/parent/parent.xsd"
         uri="classpath:parent.xsd"/>
 
 
-    <rewriteURI uriStartString="http://gumartinm.name/spring-ws/parent"
+    <rewriteURI uriStartString="http://schemas.gumartinm.name/spring-ws/parent"
                 rewritePrefix="classpath:parent.xsd"/>
 
 </catalog>
index ff364f5..c4c1a9a 100644 (file)
@@ -1,6 +1,7 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:sch="http://gumartinm.name/spring-ws/example" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns="http://gumartinm.name/spring-ws/exampleService" targetNamespace="http://gumartinm.name/spring-ws/exampleService">
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:sch="http://gumartinm.name/spring-ws/example" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns="http://gumartinm.name/spring-ws/exampleService" targetNamespace="http://gumartinm.name/spring-ws/exampleService">
   <wsdl:types>
-    <xsd:schema xmlns="http://gumartinm.name/spring-ws/example" xmlns:annox="http://annox.dev.java.net" xmlns:inheritance="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:parent="http://gumartinm.name/spring-ws/parent" xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" jaxb:extensionBindingPrefixes="inheritance annox" jaxb:version="2.1" targetNamespace="http://gumartinm.name/spring-ws/example">
+    <xsd:schema xmlns="http://gumartinm.name/spring-ws/example" xmlns:annox="http://annox.dev.java.net" xmlns:inheritance="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:parent="http://schemas.gumartinm.name/spring-ws/parent" xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" jaxb:extensionBindingPrefixes="inheritance annox" jaxb:version="2.1" targetNamespace="http://gumartinm.name/spring-ws/example">
     
     <!--
          When should an item be declared as an element versus when should it be defined as a type?
@@ -15,7 +16,7 @@
         We are going to use catalog.cat in order to avoid downloading parent.xsd from remote server
         when creating Java objects from examples.xsd.
     -->
-    <xsd:import namespace="http://gumartinm.name/spring-ws/parent" schemaLocation="http://gumartinm.name/spring-ws/parent/parent.xsd"/>
+    <xsd:import namespace="http://schemas.gumartinm.name/spring-ws/parent" schemaLocation="http://schemas.gumartinm.name/spring-ws/parent/parent.xsd"/>
 
 
        <!-- Spring requires the following:
       <soap12:address location="http://localhost:8080/web-services-spring-cxf-server/spring-ws/example"/>
     </wsdl:port>
   </wsdl:service>
-</wsdl:definitions>
+</wsdl:definitions>
\ No newline at end of file
index 244be4e..8171468 100644 (file)
@@ -8,7 +8,7 @@ import javax.xml.transform.Source;
 // cxf-codegen-plugin DOES generate again the objects in web-services-spring-jaxb2-globalxsds :(
 // So I guess it is better to use the objects generated in this package
 // than the ones from globalxsds even if they should be the same.
-import name.gumartinm.spring_ws.parent.GeneralFault;
+import name.gumartinm.schemas.spring_ws.parent.GeneralFault;
 
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
index 32e1435..9f8149e 100644 (file)
@@ -1,7 +1,5 @@
 package de.spring.webservices.client;
 
-import name.gumartinm.spring_ws.parent.ParentEnumType;
-
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import org.springframework.ws.client.core.WebServiceTemplate;
@@ -14,6 +12,7 @@ import de.spring.webservices.client.auto.ExampleRequest;
 import de.spring.webservices.client.auto.ExampleResponse;
 import de.spring.webservices.client.auto.Examples;
 import de.spring.webservices.client.auto.ExamplesService;
+import name.gumartinm.schemas.spring_ws.parent.ParentEnumType;
 
 /**
  * Someone could write code like this one in order to send and receive
index 54cc644..5780d7b 100644 (file)
@@ -5,9 +5,7 @@ import org.slf4j.LoggerFactory;
 import org.springframework.context.ApplicationContext;
 import org.springframework.context.support.ClassPathXmlApplicationContext;
 
-import de.spring.webservices.client.auto.CustomBindingExampleFault;
 import de.spring.webservices.client.auto.CustomBindingExampleResponse;
-import de.spring.webservices.client.auto.ExampleFault;
 import de.spring.webservices.client.auto.ExampleResponse;
 
 /**
@@ -22,8 +20,6 @@ public class MainTest {
 
     /**
      * @param args
-     * @throws ExampleFault_Exception 
-     * @throws CustomBindingExampleFault_Exception 
      */
     public static void main(final String[] args) {
         final MainTest test = new MainTest();
index 73d9a8c..b770328 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <xsd:schema xmlns="http://gumartinm.name/spring-ws/example"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:parent="http://gumartinm.name/spring-ws/parent"
+    xmlns:parent="http://schemas.gumartinm.name/spring-ws/parent"
     xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
     xmlns:inheritance="http://jaxb2-commons.dev.java.net/basic/inheritance"
     xmlns:annox="http://annox.dev.java.net"
@@ -24,7 +24,7 @@
         We are going to use catalog.cat in order to avoid downloading parent.xsd from remote server
         when creating Java objects from examples.xsd.
     -->
-    <xsd:import namespace="http://gumartinm.name/spring-ws/parent" schemaLocation="http://gumartinm.name/spring-ws/parent/parent.xsd" />
+    <xsd:import namespace="http://schemas.gumartinm.name/spring-ws/parent" schemaLocation="http://schemas.gumartinm.name/spring-ws/parent/parent.xsd" />
 
 
        <!-- Spring requires the following:
index cb926e7..1780e9c 100644 (file)
@@ -77,7 +77,7 @@
                
                We scan the objects generated in this package.
         -->
-       <property name="contextPath" value="de.spring.webservices.client.auto:name.gumartinm.spring_ws.parent"/>
+       <property name="contextPath" value="de.spring.webservices.client.auto:name.gumartinm.schemas.spring_ws.parent"/>
         </bean>
        
      
index f33c496..fea4a95 100644 (file)
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8" ?>
-<xsd:schema xmlns="http://gumartinm.name/spring-ws/parent"
+<xsd:schema xmlns="http://schemas.gumartinm.name/spring-ws/parent"
     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
     elementFormDefault="qualified"
     attributeFormDefault="unqualified"
-    targetNamespace="http://gumartinm.name/spring-ws/parent">
+    targetNamespace="http://schemas.gumartinm.name/spring-ws/parent">
        
     <!--
          When should an item be declared as an element versus when should it be defined as a type?
index 4bc1c66..1573fe3 100644 (file)
 
 
     <!-- I JUST NEED THIS CONFIGURATION, ANYHOW I AM WRITING ALL OF THEM -->
-    <rewriteSystem systemIdStartString="http://gumartinm.name/spring-ws/parent"
+    <rewriteSystem systemIdStartString="http://schemas.gumartinm.name/spring-ws/parent"
                    rewritePrefix="classpath:parent.xsd"/>
 
 
     <!-- THE FOLLOWING ONES ARE NOT REQUIRED EVEN IF I AM WRITING THEM -->
     <public
-        publicId="http://gumartinm.name/spring-ws/parent"
+        publicId="http://schemas.gumartinm.name/spring-ws/parent"
         uri="classpath:parent.xsd"/>
 
 
     <system
-        systemId="http://gumartinm.name/spring-ws/parent/parent.xsd"
+        systemId="http://schemas.gumartinm.name/spring-ws/parent/parent.xsd"
         uri="classpath:parent.xsd"/>
 
 
-    <rewriteURI uriStartString="http://gumartinm.name/spring-ws/parent"
+    <rewriteURI uriStartString="http://schemas.gumartinm.name/spring-ws/parent"
                 rewritePrefix="classpath:parent.xsd"/>
 
 </catalog>
index 73d9a8c..b770328 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <xsd:schema xmlns="http://gumartinm.name/spring-ws/example"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:parent="http://gumartinm.name/spring-ws/parent"
+    xmlns:parent="http://schemas.gumartinm.name/spring-ws/parent"
     xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
     xmlns:inheritance="http://jaxb2-commons.dev.java.net/basic/inheritance"
     xmlns:annox="http://annox.dev.java.net"
@@ -24,7 +24,7 @@
         We are going to use catalog.cat in order to avoid downloading parent.xsd from remote server
         when creating Java objects from examples.xsd.
     -->
-    <xsd:import namespace="http://gumartinm.name/spring-ws/parent" schemaLocation="http://gumartinm.name/spring-ws/parent/parent.xsd" />
+    <xsd:import namespace="http://schemas.gumartinm.name/spring-ws/parent" schemaLocation="http://schemas.gumartinm.name/spring-ws/parent/parent.xsd" />
 
 
        <!-- Spring requires the following:
index 113acd0..cb55275 100644 (file)
@@ -1,6 +1,6 @@
 
 
-REWRITE_SYSTEM "http://gumartinm.name/spring-ws/parent/parent.xsd" "maven:de.spring.webservices:web-services-spring-jaxb2-globalxsds:jar::!/schemas/parent.xsd"
+REWRITE_SYSTEM "http://schemas.gumartinm.name/spring-ws/parent/parent.xsd" "maven:de.spring.webservices:web-services-spring-jaxb2-globalxsds:jar::!/schemas/parent.xsd"
        
 --
        This configuration is better (it relies on namespace instead of schemaLocation) but it doesn't work
index 140de62..8891cb8 100644 (file)
@@ -1,6 +1,7 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:sch="http://gumartinm.name/spring-ws/example" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns="http://gumartinm.name/spring-ws/exampleService" targetNamespace="http://gumartinm.name/spring-ws/exampleService">
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:sch="http://gumartinm.name/spring-ws/example" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns="http://gumartinm.name/spring-ws/exampleService" targetNamespace="http://gumartinm.name/spring-ws/exampleService">
   <wsdl:types>
-    <xsd:schema xmlns="http://gumartinm.name/spring-ws/example" xmlns:annox="http://annox.dev.java.net" xmlns:inheritance="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:parent="http://gumartinm.name/spring-ws/parent" xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" jaxb:extensionBindingPrefixes="inheritance annox" jaxb:version="2.1" targetNamespace="http://gumartinm.name/spring-ws/example">
+    <xsd:schema xmlns="http://gumartinm.name/spring-ws/example" xmlns:annox="http://annox.dev.java.net" xmlns:inheritance="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:parent="http://schemas.gumartinm.name/spring-ws/parent" xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" jaxb:extensionBindingPrefixes="inheritance annox" jaxb:version="2.1" targetNamespace="http://gumartinm.name/spring-ws/example">
     
     <!--
          When should an item be declared as an element versus when should it be defined as a type?
@@ -15,7 +16,7 @@
         We are going to use catalog.cat in order to avoid downloading parent.xsd from remote server
         when creating Java objects from examples.xsd.
     -->
-    <xsd:import namespace="http://gumartinm.name/spring-ws/parent" schemaLocation="http://gumartinm.name/spring-ws/parent/parent.xsd"/>
+    <xsd:import namespace="http://schemas.gumartinm.name/spring-ws/parent" schemaLocation="http://schemas.gumartinm.name/spring-ws/parent/parent.xsd"/>
 
 
        <!-- Spring requires the following:
index 73d9a8c..b770328 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <xsd:schema xmlns="http://gumartinm.name/spring-ws/example"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:parent="http://gumartinm.name/spring-ws/parent"
+    xmlns:parent="http://schemas.gumartinm.name/spring-ws/parent"
     xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
     xmlns:inheritance="http://jaxb2-commons.dev.java.net/basic/inheritance"
     xmlns:annox="http://annox.dev.java.net"
@@ -24,7 +24,7 @@
         We are going to use catalog.cat in order to avoid downloading parent.xsd from remote server
         when creating Java objects from examples.xsd.
     -->
-    <xsd:import namespace="http://gumartinm.name/spring-ws/parent" schemaLocation="http://gumartinm.name/spring-ws/parent/parent.xsd" />
+    <xsd:import namespace="http://schemas.gumartinm.name/spring-ws/parent" schemaLocation="http://schemas.gumartinm.name/spring-ws/parent/parent.xsd" />
 
 
        <!-- Spring requires the following:
index f33c496..fea4a95 100644 (file)
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8" ?>
-<xsd:schema xmlns="http://gumartinm.name/spring-ws/parent"
+<xsd:schema xmlns="http://schemas.gumartinm.name/spring-ws/parent"
     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
     elementFormDefault="qualified"
     attributeFormDefault="unqualified"
-    targetNamespace="http://gumartinm.name/spring-ws/parent">
+    targetNamespace="http://schemas.gumartinm.name/spring-ws/parent">
        
     <!--
          When should an item be declared as an element versus when should it be defined as a type?
index 113acd0..cb55275 100644 (file)
@@ -1,6 +1,6 @@
 
 
-REWRITE_SYSTEM "http://gumartinm.name/spring-ws/parent/parent.xsd" "maven:de.spring.webservices:web-services-spring-jaxb2-globalxsds:jar::!/schemas/parent.xsd"
+REWRITE_SYSTEM "http://schemas.gumartinm.name/spring-ws/parent/parent.xsd" "maven:de.spring.webservices:web-services-spring-jaxb2-globalxsds:jar::!/schemas/parent.xsd"
        
 --
        This configuration is better (it relies on namespace instead of schemaLocation) but it doesn't work
index 73d9a8c..b770328 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <xsd:schema xmlns="http://gumartinm.name/spring-ws/example"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-    xmlns:parent="http://gumartinm.name/spring-ws/parent"
+    xmlns:parent="http://schemas.gumartinm.name/spring-ws/parent"
     xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
     xmlns:inheritance="http://jaxb2-commons.dev.java.net/basic/inheritance"
     xmlns:annox="http://annox.dev.java.net"
@@ -24,7 +24,7 @@
         We are going to use catalog.cat in order to avoid downloading parent.xsd from remote server
         when creating Java objects from examples.xsd.
     -->
-    <xsd:import namespace="http://gumartinm.name/spring-ws/parent" schemaLocation="http://gumartinm.name/spring-ws/parent/parent.xsd" />
+    <xsd:import namespace="http://schemas.gumartinm.name/spring-ws/parent" schemaLocation="http://schemas.gumartinm.name/spring-ws/parent/parent.xsd" />
 
 
        <!-- Spring requires the following: