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

WSDL2Java Tool Generates Java Stubs which has errors

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.6.1
    • Component/s: adb
    • Labels:
      None
    • Environment:
      Windows XP

      Description

      Hello Techies,

      I am using the WSDL2Java tool to generate the java files for the WSDL provided by the end user. The tool runs fine without any exceptions and generates the necessary files. In the generated stubs, there is a class by the name CCLGroupBooking_Public_DisplayGroupBooking_v20ServiceStub and it shows me an error for a variable by the name local, the error it shows is "local cannot be resolved" and if I see in this class, then there is no variable by the name local. I am not sure as to how this variable is referenced without been declared. Can someone please help me in resolving this error

      if (local==null)

      { throw new org.apache.axis2.databinding.ADBException(" cannot be null !!"); }

      else

      { xmlWriter.writeCharacters(org.apache.axis2.databinding.utils.ConverterUtil.convertToString(local)); }

        Attachments

        1. CCLGroupBooking_Public_DisplayGroupBooking_v20ServiceStub.java
          3.92 MB
          Sumeet Chakraborty
        2. Common.xsd
          14 kB
          Sumeet Chakraborty
        3. GBO_DisplayGroupBooking.wsdl
          67 kB
          Sumeet Chakraborty

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sumitcool2 Sumeet Chakraborty
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: