Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-515

WSDL2Java generates uncompilable code.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.95
    • None
    • client-api
    • None
    • WinXP JDK 1.5.06

    Description

      ran WSDL2Java -s -uri enterprise.wsdl.

      a) it generates a single file that is 5Mb in size and 121914 lines long (i acedently hit format in eclipse and had to kill eclipse after 5 minutes of it trying to format the file).
      b) it doesn't compile.
      Severity Description Resource In Folder Location Creation Time Id
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.AssignmentRuleHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 371 March 25, 2006 12:26:19 AM 95531
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.AssignmentRuleHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 590 March 25, 2006 12:26:19 AM 95536
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.AssignmentRuleHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 1088 March 25, 2006 12:26:19 AM 95548
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.MruHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 376 March 25, 2006 12:26:19 AM 95532
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.MruHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 595 March 25, 2006 12:26:19 AM 95537
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.MruHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 1093 March 25, 2006 12:26:19 AM 95549
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.QueryOptions, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 1026 March 25, 2006 12:26:19 AM 95546
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.QueryOptions, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 1153 March 25, 2006 12:26:19 AM 95551
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.QueryOptions, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 1213 March 25, 2006 12:26:19 AM 95553
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 309 March 25, 2006 12:26:19 AM 95529
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 366 March 25, 2006 12:26:19 AM 95530
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 429 March 25, 2006 12:26:19 AM 95533
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 482 March 25, 2006 12:26:19 AM 95534
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 585 March 25, 2006 12:26:19 AM 95535
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 648 March 25, 2006 12:26:19 AM 95538
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 701 March 25, 2006 12:26:19 AM 95539
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 754 March 25, 2006 12:26:19 AM 95540
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 807 March 25, 2006 12:26:19 AM 95541
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 860 March 25, 2006 12:26:19 AM 95542
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 913 March 25, 2006 12:26:19 AM 95543
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 966 March 25, 2006 12:26:19 AM 95544
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 1021 March 25, 2006 12:26:19 AM 95545
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 1083 March 25, 2006 12:26:19 AM 95547
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 1148 March 25, 2006 12:26:19 AM 95550
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 1208 March 25, 2006 12:26:19 AM 95552
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 1266 March 25, 2006 12:26:19 AM 95554
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 1319 March 25, 2006 12:26:19 AM 95555
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 1372 March 25, 2006 12:26:19 AM 95556
      2 The method toOM(SoapStub.ConvertLead) in the type SoapStub is not applicable for the arguments (SoapStub.SessionHeader, boolean) SoapStub.java axis295_test/src/org/apache/axis2 line 1425 March 25, 2006 12:26:19 AM 95557

      c) It seems to ignored the namespace in the source schema, so the generated stub is in the org.apache.axis2 package.
      d) the constructor is declared as throwing Exception, ouch
      e) a lot of the inner classes have 2 classes, e.g. AccountShare & AccountShare67, what are all the 2nd ones for ?

      Attachments

        1. enterprise.wsdl
          224 kB
          Simon Fell

        Activity

          People

            ajith Ajith Ranabahu
            sfell@salesforce.com Simon Fell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: