Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-90

Top-level arrays cannot be processed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.1 Final
    • 1.3 Final
    • WSDL processing - RPC
    • None
    • Axis C 1.1 and 1.1.1
      Windows XP

    Description

      This bug is somewhat similar to AXISCPP-69.

      If I have this element defined:

      <xsd:element name="myBean" maxOccurs="unbounded">
      <xsd:complexType name="MyBeanType">
      <xsd:element name="userName" type="xsd:string"/>
      <xsd:element name="hostName" type="xsd:string"/>
      </xsd:complexType>
      </xsd:element>

      And I run it the WSDL through wsdl2ws, I get this output on the console:

      1

                                1. the type found ={http://schemas.connector.flexnet.macrovision.com
                                  }MyBeanType[unbounded]
                                2. the type found ={http://schemas.connector.flexnet.macrovision.com
                                  }MyBeanType
                                  Exception in thread "main" org.apache.axis.wsdl.wsdl2ws.WrapperFault: unregister
                                  d type {http://schemas.connector.flexnet.macrovision.com}

                                  MyBeanType[unbounded] r
                                  efered
                                  at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceInfo(Unknown Source)
                                  at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.genarateWrappers(Unknown Source)

      at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)

      Attachments

        Activity

          People

            Unassigned Unassigned
            scheng Steve Cheng`
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: