already contains type 'string;
------------------------------

         Key: AXIS2-426
         URL: http://issues.apache.org/jira/browse/AXIS2-426
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug
  Components: databinding  
    Versions: 0.94    
 Environment: windows xp sp2
    Reporter: Axel Bernard
    Priority: Critical


Gentlemen,

I have a RuntimeException while trying to view the WSDL of a deployed service 
on axis2 - version 0.94
    [java] org.apache.axis2.wsdl.codegen.CodeGenerationException: 
java.lang.RuntimeException: java.lang.RuntimeException: Schema for namespace 
'http://wpm.accelior.com/v2/core/common/i18N/bo' already contains type 'string
    [java] org.apache.axis2.wsdl.codegen.CodeGenerationException: 
java.lang.RuntimeException: java.lang.RuntimeException: Schema for namespace 
'http://wpm.accelior.com/v2/core/common/i18N/bo' already contains type 'string
    [java]    at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:118)
    [java]    at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:31)
    [java]    at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
    [java] Caused by: java.lang.RuntimeException: java.lang.RuntimeException: 
Schema for namespace 'http://wpm.accelior.com/v2/core/common/i18N/bo' already 
contains type 'string
    [java]    at 
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:152)
    [java]    at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:80)
    [java]    ... 2 more
    [java] Caused by: java.lang.RuntimeException: Schema for namespace 
'http://wpm.accelior.com/v2/core/common/i18N/bo' already contains type 'string
(...)

When I executed WSDL2Java (using ADB) to generate my sources I had the same 
exception. Following forum posts on that topic, I've seen that it was a known 
problem that could be solved by using xmlbeans instead of ADB.
So did I but even if the codegen went fine, the exception is now appearing on 
the server side when trying to view the wsdl...

An I missing something ?

Thanks in advance,

Axel

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to