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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 1.6.1
    • 1.6.1
    • codegen
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: