[ 
https://issues.apache.org/jira/browse/CXF-8704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andriy Redko closed CXF-8704.
-----------------------------
    Resolution: Information Provided

No feedback from the user

> Parser Error: Problem Parsing - premature end of life
> -----------------------------------------------------
>
>                 Key: CXF-8704
>                 URL: https://issues.apache.org/jira/browse/CXF-8704
>             Project: CXF
>          Issue Type: Bug
>          Components: WS-* Components
>            Reporter: James Lee
>            Priority: Major
>
> We are having some issues where we noticed that CXF is having issues with 
> redirect from HTTP to HTTPS.
> Caused by: javax.wsdl.WSDLException: WSDLException (at 
> /wsdl:definitions/wsdl:import/wsdl:definitions/wsdl:types/xs:schema/xs:schema):
>  faultCode=PARSER_ERROR: Problem parsing 
> '[http://schemas.xmlsoap.org/ws/2004/09/policy/ws-policy.xsd]'.: 
> org.xml.sax.SAXParseException: Premature end of file. ( if you try to browse 
> to [http://schemas.xmlsoap.org/ws/2004/09/policy/ws-policy.xsd] it will 
> redirect to 
> [https://schemas.xmlsoap.org/ws/2004/09/policy/ws-policy.xsd|http://schemas.xmlsoap.org/ws/2004/09/policy/ws-policy.xsd]
> {[http://gpki-adapters.zenprise.com/symantec]}GpkiAdapterService#{[http://gpki-adapters.zenprise.com/symantec]}signCertificate
>  has thrown exception, unwinding now: com.zenprise.zdm.gpki.GpkiAdapterFault: 
> Could not get a cert from the server, error: signCertificate() got 
> javax.xml.ws.WebServiceException error: 
> org.apache.cxf.service.factory.ServiceConstructionException: Failed to create 
> service.'
> soap:Envelope 
> xmlns:soap="[http://schemas.xmlsoap.org/soap/envelope/]";><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Could
>  not get a cert from the server, error: 'signCertificate() got 
> javax.xml.ws.WebServiceException error: 
> 'org.apache.cxf.service.factory.ServiceConstructionException: Failed to 
> create service.''</faultstring><detail><ns1:GpkiAdapterFault 
> xmlns:ns1="[http://zdm.zenprise.com/gpki/sample]";></ns1:GpkiAdapterFault></detail></soap:Fault></soap:Body></soap:Envelope>
>  
> Is there a way to get CXF to be able to redirect from HTTP to HTTPS?



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to