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

WSDL2Java fails with "Can not find an attribute group for group reference"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.6.1
    • Component/s: codegen
    • Labels:
    • Environment:
      Windows XP
      Java version "1.6.0_26"
      Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
      Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode)

      Description

      Hi,

      WSDL and XML Schema Data Types should be with attached.

      I am working with the XML Schema datatypes of Open Travel Alliance. It should do a simple operation with the request data type OTA_HotelAvailRQ.

      After I implemented WSDL document and validated it with no error, I have tried generating the java code of the server side by using the WSDL2Java tool.

      But it fail on the console with the error message: can not find the attribute group reference name

      {http://www.opentravel.org/OTA/2003/05}

      RateRangeGroup from the parent schema http://www.opentravel.org/OTA/2003/05
      Anyhow the attribute group RateRangeGroup is found in tge file OTA_CommonTypes.xsd.

      Thanks in advance,

      Giap

        Attachments

        1. OpenTravel2011B_XML.rar
          1.33 MB
          Nguyen Giap
        2. log.txt
          8 kB
          Nguyen Giap

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nguyengn Nguyen Giap
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: