[ https://issues.apache.org/jira/browse/CXF-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14341728#comment-14341728 ]
Michał Sierpień commented on CXF-1505: -------------------------------------- Hi, We have solved this issue, it is not because # in namespace. It is because service element in WSDL. Test Case: 1. In soap:address location put address witch is not reachable from machine. Firewall outbound drop policy. 2. Use WSDL, as a client with CXF. with this soap:address location. 3. App can not connect to service:port location, and return parsing Error. Only thing what is wrong with this behavior is error message, because error is: WSDLException (at /definitions/types/xsd:schema/schema): faultCode=PARSER_ERROR: Problem parsing 'jar:file:****/xmldsig-core-schema.xsd'.: java.net.ConnectException: Connection timed out Witch point that when you pars local file you get connection timeout. You need to analyze stackTrace to figure out what is wrong. Regards, Michal > 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)