can some one help me here pls! Regards, Aravind R Yarram
[EMAIL PROTECTED] 05/07/2008 10:03 AM Please respond to axis-user@ws.apache.org To axis-user@ws.apache.org cc Subject wsdl2java generating code that is not compilable Helo all, I have a WSDL types defined like below. <xs:complexTypename="ExtendedAddressType"> <xs:complexContent> <xs:extensionbase="SimpleParsedAddressType"> <xs:sequence> <xs:elementname="Zip4"type="xs:string" minOccurs="0"/> <xs:elementname="PhoneNumber"type=" xs:string"minOccurs="0"/> <xs:elementname="ReportDate"type=" SimpleDateType"minOccurs="0"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexTypename="SimpleParsedAddressType"> <xs:sequence> <xs:elementname="StreetPreDirection"type="xs:string" minOccurs="0"/> <xs:elementname="StreetNumber"type="xs:string"minOccurs="0 "/> <xs:elementname="StreetName"type="xs:string"minOccurs="0 "/> <xs:elementname="StreetType"type="xs:string"minOccurs="0 "/> <xs:elementname="StreetPostDirection"type="xs:string" minOccurs="0"/> <xs:elementname="UnitDesignator"type="UnitDesignatorType" minOccurs="0"/> <xs:elementname="UnitNumber"type="xs:string"minOccurs="0 "/> <xs:elementname="City"type="xs:string"minOccurs="0"/> <xs:elementname="State"type="xs:string"minOccurs="0"/> <xs:elementname="PostalCode"type="xs:string"minOccurs="0 "/> <xs:elementname="Country"type="xs:string"minOccurs="0"/> </xs:sequence> <xs:attributename="addressIdentifier"use="optional"> <xs:simpleType> <xs:restrictionbase="xs:token"> <xs:enumerationvalue="Current"/> <xs:enumerationvalue="Former"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> Generated Constructors from the sources public SimpleParsedAddressType( java.lang.String streetPreDirection, java.lang.String streetNumber, java.lang.String streetName, java.lang.String streetType, java.lang.String streetPostDirection, com.ws.UnitDesignatorType unitDesignator, java.lang.String unitNumber, java.lang.String city, java.lang.String state, java.lang.String postalCode, java.lang.String country, com.ws.SimpleParsedAddressTypeAddressIdentifier addressIdentifier) { ... } public ExtendedAddressType{ com.ws.SimpleParsedAddressTypeAddressIdentifier addressIdentifier, java.lang.String streetPreDirection, java.lang.String streetNumber, java.lang.String streetName, java.lang.String streetType, java.lang.String streetPostDirection, com.ws.UnitDesignatorType unitDesignator, java.lang.String unitNumber, java.lang.String city, java.lang.String state, java.lang.String postalCode, java.lang.String country, java.lang.String zip4, java.lang.String phoneNumber, com.ws.SimpleDateType reportDate) { super( addressIdentifier, streetPreDirection, streetNumber, streetName, streetType, streetPostDirection, unitDesignator, unitNumber, city, state, postalCode, country); } As we can see below , the order of the constructor argument "addressIdentifier" is different in the super class and subclass causing a compile time error as subclass's constructor calles "super". Really appreciate if someone can tell me how to fix this! Regards, Aravind R YarramThis message contains information from Equifax Inc. which may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify by e-mail [EMAIL PROTECTED] -- This message contains information from Equifax Inc. which may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify by e-mail [EMAIL PROTECTED] --