axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Fell (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-382) WSDL2Code stops with confusing exception message
Date Thu, 12 Jan 2006 00:40:20 GMT
WSDL2Code stops with confusing exception message
------------------------------------------------

         Key: AXIS2-382
         URL: http://issues.apache.org/jira/browse/AXIS2-382
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug
  Components: wsdl  
    Versions: 0.94    
 Environment: JDK 1.5, Win XP
    Reporter: Simon Fell


running wsdl2code -uri enterprise.wsdl
stops with this exception 

RuntimeException: Schema for namespace 'urn:enterprise.soap.sforce.com' already contains type
'string
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:118)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:31)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Schema for namespace 'urn:enterprise.soap.sforce.com'
 already contains type 'string
        at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:152)
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:80)
        ... 1 more
Caused by: java.lang.RuntimeException: Schema for namespace 'urn:enterprise.soap.sforce.com'
already contains type 'stri
ng
        at org.apache.ws.commons.schema.XmlSchema.addType(XmlSchema.java:237)
        at org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:98)
        at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:233)
        at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:86)
        ... 2 more


Nothing in the WSDL defines a type called string

-- 
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


Mime
View raw message