Michael Auß created CXF-8760:
--------------------------------

             Summary: cxf-codegen-plugin ignores https redirect for schema 
import
                 Key: CXF-8760
                 URL: https://issues.apache.org/jira/browse/CXF-8760
             Project: CXF
          Issue Type: Bug
    Affects Versions: 3.5.1
            Reporter: Michael Auß


301 Redirect is ignored, when 
schemaLocation="[http://www.w3.org/2005/05/xmlmime]"; and Server answers.
{{{}{}}}{{{}% curl -v http://www.w3.org/2005/05/xmlmime 
*   Trying 128.30.52.100:80...
* Connected to www.w3.org (128.30.52.100) port 80 (#0)
> GET /2005/05/xmlmime HTTP/1.1
> Host: www.w3.org
> User-Agent: curl/7.84.0
> Accept: */*
> 
* Mark bundle as not supporting multiuse
< HTTP/1.1 301 Moved Permanently
< content-length: 0
< location: https://www.w3.org/2005/05/xmlmime
< 
* Connection #0 to host www.w3.org left intact{}}}{{{}Caused by: 
org.xml.sax.SAXParseExceptionpublicId: [http://www.w3.org/2005/05/xmlmime]; 
systemId: [http://www.w3.org/2005/05/xmlmime]; lineNumber: 1; columnNumber: 1; 
Premature end of file.{}}}
{{[WARNING] at 
java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:262)}}
{{[WARNING] at 
java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:342)}}
{{{}{{[WARNING]         at 
com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2188)}}{}}}{{{}{{}}{}}}

{{}}

{{}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to