cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michał Sierpień (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (CXF-1505) Problem parsing /schemas/xmldsig-core-schema.xsd (Issue CXF-1200)
Date Wed, 25 Feb 2015 11:06:04 GMT

    [ https://issues.apache.org/jira/browse/CXF-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14336351#comment-14336351
] 

Michał Sierpień edited comment on CXF-1505 at 2/25/15 11:05 AM:
----------------------------------------------------------------

Hi Just hit this problem,
jaxws-api 2.2.10
cxf.version 3.0.3
wsdl4j-1.6.3.jar
WSDL in JAR file on local disk,

org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
        at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:87)
        at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:218)
        at org.apache.cxf.jaxws.ServiceImpl.initialize(ServiceImpl.java:161)
        at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:129)
        at org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:99)
        at javax.xml.ws.Service.<init>(Service.java:77)
***
Caused by: javax.wsdl.WSDLException: WSDLException (at /definitions/types/xsd:schema/schema):
faultCode=PARSER_ERROR: Problem parsing 'jar:file:****/xmldsig-core-schema.xsd'.: java.net.ConnectException:
Connection timed out
        at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2198)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(WSDLReaderImpl.java:830)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(WSDLReaderImpl.java:864)



was (Author: voncuver):
Hi Just hit this problem,
Use version 2.2.10
WSDL in JAR file on local disk,

org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
        at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:87)
        at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:218)
        at org.apache.cxf.jaxws.ServiceImpl.initialize(ServiceImpl.java:161)
        at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:129)
        at org.apache.cxf.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:99)
        at javax.xml.ws.Service.<init>(Service.java:77)
***
Caused by: javax.wsdl.WSDLException: WSDLException (at /definitions/types/xsd:schema/schema):
faultCode=PARSER_ERROR: Problem parsing 'jar:file:****/xmldsig-core-schema.xsd'.: java.net.ConnectException:
Connection timed out
        at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2198)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(WSDLReaderImpl.java:830)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(WSDLReaderImpl.java:864)


> Problem parsing /schemas/xmldsig-core-schema.xsd (Issue CXF-1200)
> -----------------------------------------------------------------
>
>                 Key: CXF-1505
>                 URL: https://issues.apache.org/jira/browse/CXF-1505
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0.4
>         Environment: JBoss 4..0.5
>            Reporter: Diego Jarillo
>         Attachments: Catalog.xml, Hello.wsdl
>
>
> Hi,
> My server (JBoss 4.0.5) don´t has internet conection. I am using CXF 2.0.4. In the wsdl
i have
> <xsd:schema>
>   <xsd:import namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
>              schemaLocation="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"/>
>  </xsd:schema>
> when the server start, i have the next error
> Caused by: javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:types/xsd:schema[2]/xsd:schema):
faultCode=PARSER_ERROR: Problem parsing 'jar:file:/D:/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp4853siria-exp.war/WEB-INF/lib/cxf-2.0.4-incubator.jar!/schemas/xmldsig-core-schema.xsd'.:
java.net.ConnectException: Connection timed out: connect
>         at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(Unknown Source)
>         at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
>         at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
>         at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
>         at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source)
>         at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
>         at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>         at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>         at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>         at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>         at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>         at org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:199)
>         at org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:163)
>         at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:81)
>         ... 163 more
> aused by: java.net.ConnectException: Connection timed out: connect
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(Unknown Source)
>         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
>         at java.net.PlainSocketImpl.connect(Unknown Source)
>         at java.net.Socket.connect(Unknown Source)
>         at java.net.Socket.connect(Unknown Source)
>         at sun.net.NetworkClient.doConnect(Unknown Source)
>         at sun.net.www.http.HttpClient.openServer(Unknown Source)
>         at sun.net.www.http.HttpClient.openServer(Unknown Source)
>         at sun.net.www.http.HttpClient.<init>(Unknown Source)
>         at sun.net.www.http.HttpClient.New(Unknown Source)
>         at sun.net.www.http.HttpClient.New(Unknown Source)
>         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
>         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
>         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
>         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
>         at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
>         at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
>         at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
>         at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
>         at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown
Source)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>         at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
>         at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
>         ... 177 more
> The issue (https://issues.apache.org/jira/browse/CXF-1200)  don't resolve this problem.
> The same error is produced when is used wsdl2java 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message