cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Vescovi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-1751) idl2wsdl fails to generate wsdl for IDL files with complex object reference usage
Date Fri, 15 Aug 2008 16:41:44 GMT

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

Matteo Vescovi updated CXF-1751:
--------------------------------

    Attachment: complex_obj_ref_idl.diff

Patch attached.

Apply from trunk with:  patch -p0 < complex_obj_ref_idl.diff



> idl2wsdl fails to generate wsdl for IDL files with complex object reference usage
> ---------------------------------------------------------------------------------
>
>                 Key: CXF-1751
>                 URL: https://issues.apache.org/jira/browse/CXF-1751
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.1.2
>            Reporter: Matteo Vescovi
>             Fix For: 2.1.2
>
>         Attachments: complex_obj_ref_idl.diff
>
>
> Here is the stack trace:
> org.apache.cxf.tools.common.ToolException: org.apache.cxf.tools.common.ToolException:
org.apache.ws.commons.schema.XmlSchemaException: Schema name conflict in collection
>         at org.apache.cxf.tools.corba.processors.idl.IDLToWSDLProcessor.process(IDLToWSDLProcessor.java:88)
>         at org.apache.cxf.tools.corba.processors.idl.IDLToWSDLProcessor.process(IDLToWSDLProcessor.java:79)
>         at org.apache.cxf.tools.corba.processors.idl.AbstractIDLToWSDLModuleToNSTestCase.testModuleToNSWSDLGeneration(AbstractIDLToWSDLModuleToNSTestCase.java:147)
>         at org.apache.cxf.tools.corba.processors.idl.AbstractIDLToWSDLModuleToNSTestCase.testModuleToNSWSDLGeneration(AbstractIDLToWSDLModuleToNSTestCase.java:89)
>         at org.apache.cxf.tools.corba.processors.idl.AbstractIDLToWSDLModuleToNSTestCase.testModuleToNSWSDLGeneration(AbstractIDLToWSDLModuleToNSTestCase.java:76)
>         at com.iona.soa.bindings.corba.tools.processors.idl.IDLToWSDLParlay50GenerationTest.testPolicyInterfaces(IDLToWSDLParlay50GenerationTest.java:496)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at junit.framework.TestCase.runTest(TestCase.java:168)
>         at junit.framework.TestCase.runBare(TestCase.java:134)
>         at junit.framework.TestResult$1.protect(TestResult.java:110)
>         at junit.framework.TestResult.runProtected(TestResult.java:128)
>         at junit.framework.TestResult.run(TestResult.java:113)
>         at junit.framework.TestCase.run(TestCase.java:124)
>         at junit.framework.TestSuite.runTest(TestSuite.java:232)
>         at junit.framework.TestSuite.run(TestSuite.java:227)
>         at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
>         at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>         at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
>         at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:334)
>         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:980)
> Caused by: org.apache.cxf.tools.common.ToolException: org.apache.ws.commons.schema.XmlSchemaException:
Schema name conflict in collection
>         at org.apache.cxf.tools.corba.processors.idl.IDLToWSDLProcessor.parseIDL(IDLToWSDLProcessor.java:219)
>         at org.apache.cxf.tools.corba.processors.idl.IDLToWSDLProcessor.process(IDLToWSDLProcessor.java:86)
>         ... 28 more
> Caused by: java.lang.RuntimeException: org.apache.ws.commons.schema.XmlSchemaException:
Schema name conflict in collection
>         at org.apache.cxf.tools.corba.processors.idl.PortTypeVisitor.visitInterface(PortTypeVisitor.java:199)
>         at org.apache.cxf.tools.corba.processors.idl.PortTypeVisitor.visit(PortTypeVisitor.java:91)
>         at org.apache.cxf.tools.corba.processors.idl.DefinitionVisitor.visit(DefinitionVisitor.java:66)
>         at org.apache.cxf.tools.corba.processors.idl.ModuleVisitor.visit(ModuleVisitor.java:53)
>         at org.apache.cxf.tools.corba.processors.idl.DefinitionVisitor.visit(DefinitionVisitor.java:57)
>         at org.apache.cxf.tools.corba.processors.idl.ModuleVisitor.visit(ModuleVisitor.java:53)
>         at org.apache.cxf.tools.corba.processors.idl.DefinitionVisitor.visit(DefinitionVisitor.java:57)
>         at org.apache.cxf.tools.corba.processors.idl.ModuleVisitor.visit(ModuleVisitor.java:53)
>         at org.apache.cxf.tools.corba.processors.idl.DefinitionVisitor.visit(DefinitionVisitor.java:57)
>         at org.apache.cxf.tools.corba.processors.idl.ModuleVisitor.visit(ModuleVisitor.java:53)
>         at org.apache.cxf.tools.corba.processors.idl.DefinitionVisitor.visit(DefinitionVisitor.java:57)
>         at org.apache.cxf.tools.corba.processors.idl.WSDLASTVisitor.visit(WSDLASTVisitor.java:120)
>         at org.apache.cxf.tools.corba.processors.idl.IDLToWSDLProcessor.parseIDL(IDLToWSDLProcessor.java:211)
>         ... 29 more
> Caused by: org.apache.ws.commons.schema.XmlSchemaException: Schema name conflict in collection
>         at org.apache.ws.commons.schema.XmlSchema.<init>(XmlSchema.java:126)
>         at org.apache.ws.commons.schema.XmlSchema.<init>(XmlSchema.java:134)
>         at org.apache.cxf.tools.corba.processors.idl.ObjectReferenceVisitor.visitForwardDeclaredObjectReference(ObjectReferenceVisitor.java:465)
>         at org.apache.cxf.tools.corba.processors.idl.ObjectReferenceVisitor.visit(ObjectReferenceVisitor.java:86)
>         at org.apache.cxf.tools.corba.processors.idl.ScopedNameVisitor.forwardDeclared(ScopedNameVisitor.java:227)
>         at org.apache.cxf.tools.corba.processors.idl.ScopedNameVisitor.visit(ScopedNameVisitor.java:99)
>         at org.apache.cxf.tools.corba.processors.idl.ParamTypeSpecVisitor.visit(ParamTypeSpecVisitor.java:62)
>         at org.apache.cxf.tools.corba.processors.idl.OperationVisitor.visitOpTypeSpec(OperationVisitor.java:375)
>         at org.apache.cxf.tools.corba.processors.idl.OperationVisitor.visit(OperationVisitor.java:161)
>         at org.apache.cxf.tools.corba.processors.idl.PortTypeVisitor.visitInterface(PortTypeVisitor.java:174)
>         ... 41 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