cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "maomaode (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-1140) wsdl2java failed if the schema import use the relative path to a url
Date Fri, 26 Oct 2007 02:25:50 GMT
wsdl2java failed if the schema import use the relative path to a url
--------------------------------------------------------------------

                 Key: CXF-1140
                 URL: https://issues.apache.org/jira/browse/CXF-1140
             Project: CXF
          Issue Type: Bug
          Components: Tooling
    Affects Versions: 2.0.2
            Reporter: maomaode
            Assignee: maomaode
             Fix For: 2.0.3


wsdl2java http://www.nabble.com/file/p13415060/csta-all.wsdl will give me

org.apache.cxf.tools.common.ToolException: java.lang.RuntimeException: Fail to c
reate wsdl definition from : http://www.nabble.com/file/p13415060/csta-all.wsdl
Caused by : WSDLException (at /definitions/types/xs:schema/xsd:schema): faultCod
e=OTHER_ERROR: Unable to locate with a locator the schema referenced at 'camp-on
-call.xsd' relative to document base 'http://www.ecma-international.org/standard
s/ecma-323/csta/ed3/csta.xsd'
        at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaCon
tainer.java:267)
        at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.ja
va: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 : htt
p://www.nabble.com/file/p13415060/csta-all.wsdl
Caused by : WSDLException (at /definitions/types/xs:schema/xsd:schema): faultCod
e=OTHER_ERROR: Unable to locate with a locator the schema referenced at 'camp-on
-call.xsd' relative to document base 'http://www.ecma-international.org/standard
s/ecma-323/csta/ed3/csta.xsd'
        at org.apache.cxf.wsdl11.WSDLDefinitionBuilder.parseWSDL(WSDLDefinitionB
uilder.java:144)
        at org.apache.cxf.wsdl11.WSDLDefinitionBuilder.build(WSDLDefinitionBuild
er.java:113)
        at org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuil
der.build(JAXWSDefinitionBuilder.java:90)
        at org.apache.cxf.tools.wsdlto.frontend.jaxws.wsdl11.JAXWSDefinitionBuil
der.build(JAXWSDefinitionBuilder.java:63)
        at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaCon
tainer.java:151)
        at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaCon
tainer.java:259)
        ... 3 more
Caused by: javax.wsdl.WSDLException: WSDLException (at /definitions/types/xs:sch
ema/xsd:schema): faultCode=OTHER_ERROR: Unable to locate with a locator the sche
ma referenced at 'camp-on-call.xsd' relative to document base 'http://www.ecma-i
nternational.org/standards/ecma-323/csta/ed3/csta.xsd'
        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(WSDLDefinitionB
uilder.java:125)
        ... 8 more


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message