cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pokynsky <pokyn...@gmail.com>
Subject Re: How insert xmldsig-core-schema.xsd in the jax-ws-catalog.xml??
Date Fri, 23 Nov 2007 12:32:32 GMT

Hey,

The problem is similar to issue CXF-1200, this schema has # in its
targetNamespace.

Thanks.

pokynsky wrote:
> 
> The stacktrace is:
> 
> org.apache.cxf.tools.common.ToolException: java.lang.RuntimeException:
> Fail to create wsdl definition from : file:/D:/CompilaWS/Beneficiario
> sSOAP.wsdl
> Caused by : WSDLException (at
> /wsdl:definitions/wsdl:types/xsd:schema[2]/xsd:schema):
> faultCode=PARSER_ERROR: Problem parsing 'jar:file:D:/a
> pache-cxf-2.0.3-incubator/lib/cxf-2.0.3-incubator.jar!/schemas/xmldsig-core-schema.xsd'.:
> java.net.ConnectException: Connection timed out: c
> onnect
>         at
> org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:237)
>         at
> org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:83)
>         at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:102)
>         at
> org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:171)
> Caused by: java.lang.RuntimeException: Fail to create wsdl definition from
> : file:/D:/CompilaWS/BeneficiariosSOAP.wsdl
> Caused by : WSDLException (at
> /wsdl:definitions/wsdl:types/xsd:schema[2]/xsd:schema):
> faultCode=PARSER_ERROR: Problem parsing 'jar:file:D:/a
> pache-cxf-2.0.3-incubator/lib/cxf-2.0.3-incubator.jar!/schemas/xmldsig-core-schema.xsd'.:
> java.net.ConnectException: Connection timed out: c
> onnect
>         at
> org.apache.cxf.wsdl11.WSDLDefinitionBuilder.parseWSDL(WSDLDefinitionBuilder.java:156)
>         at
> org.apache.cxf.wsdl11.WSDLDefinitionBuilder.build(WSDLDefinitionBuilder.java:125)
>         at
> org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuilder.build(JAXWSDefinitionBuilder.java:89)
>         at
> org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuilder.build(JAXWSDefinitionBuilder.java:61)
>         at
> org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:122)
>         at
> org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:229)
>         ... 3 more
> Caused by: javax.wsdl.WSDLException: WSDLException (at
> /wsdl:definitions/wsdl:types/xsd:schema[2]/xsd:schema):
> faultCode=PARSER_ERROR: Probl
> em parsing
> 'jar:file:D:/apache-cxf-2.0.3-incubator/lib/cxf-2.0.3-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.WSDLDefinitionBuilder.parseWSDL(WSDLDefinitionBuilder.java:137)
>         ... 8 more
> Caused by: java.net.ConnectException: Connection timed out: connect
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>         at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>         at java.net.Socket.connect(Socket.java:519)
>         at java.net.Socket.connect(Socket.java:469)
>         at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
>         at sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
>         at sun.net.www.http.HttpClient.openServer(HttpClient.java:509)
>         at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
>         at sun.net.www.http.HttpClient.New(HttpClient.java:304)
>         at sun.net.www.http.HttpClient.New(HttpClient.java:316)
>         at
> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:817)
>         at
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:769)
>         at
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:694)
>         at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:938)
>         at
> com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:973)
>         at
> com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:905)
>         at
> com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:872)
>         at
> com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:282)
>         at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(XMLDocumentScannerImpl.java:1021)
>         at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
>         at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
>         at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
>         at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
>         at
> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:250)
>         at
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
>         ... 20 more
> 
> 
> 
> 
> Thansks,
> 
> 
> 
> James Mao wrote:
>> 
>> Is it possible to paste the full stacktrace, or create a jira for us
>> 
>> Thanks,
>> James
>> 
>>> With the last version it continues giving the same error
>>>
>>>
>>> Willem2 wrote:
>>>   
>>>> Please try CXF 2.0.3 which fixed bunch of bugs.
>>>>
>>>> Willem
>>>>
>>>> pokynsky wrote:
>>>>     
>>>>> Hello,
>>>>>
>>>>> I have my jax-ws-catalog.xml and I defined xmldsig-core-schema.xsd:
>>>>>
>>>>> <rewriteSystem  systemId="http://www.w3.org/2001/XMLSchema.dtd"
>>>>> rewritePrefix="classpath:schemas/XMLSchema.dtd"/>
>>>>>
>>>>> <rewriteSystem
>>>>> systemIdStartString="http://www.w3.org/2000/09/xmldsig#"
>>>>> rewritePrefix="classpath:schemas/xmldsig-core-schema.xsd"/>
>>>>> 	<rewriteSystem
>>>>> systemIdStartString="http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd"
>>>>> rewritePrefix="classpath:schemas/xmldsig-core-schema.xsd"/>
>>>>>
>>>>> but, I obtain the error:
>>>>>
>>>>> faultCode=PARSER_ERROR: Problem parsing
>>>>> ....cxf-2.0.1-incubator.jar!/schemas/xmldsig-core-schema.xsd
>>>>>
>>>>> (The jar is in the classpath)
>>>>>
>>>>> Any Idea??
>>>>>
>>>>>
>>>>>       
>>>>     
>>>
>>>   
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-insert-xmldsig-core-schema.xsd-in-the-jax-ws-catalog.xml---tf4849583.html#a13911583
Sent from the cxf-dev mailing list archive at Nabble.com.


Mime
View raw message