axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Problem while compiling proxies created by Axis 1.4
Date Wed, 10 Feb 2010 13:50:48 GMT


I am trying to create client proxies/stub from  a WSDL using Axis 1.4
WSDL2Java utility. 


Stub is created properly but fails during compilation. Error I get is 


    [javac] Object() in java.lang.Object cannot be
applied to (java.lang.String)

    [javac]         super(_value);


It fails for following part of WSDL:


  <xs:complexType name="myClass">


      <xs:element minOccurs="1" maxOccurs="unbounded"
name="classElement" type="myNameSpace:MyClassDetail" />



  <xs:complexType name=" MyClassDetail ">


      <xs:extension base="myNameSpace: MyClassDetailType">

        <xs:attribute name="firstAttr" type="myNameSpace:attr"
use="required" />




  <xs:simpleType name=" MyClassDetailType ">

    <xs:restriction base="xs:string">

      <xs:maxLength value="50" />




I initially used JDK 5 with Ant 1.8 and Axis 1.4. Also tried JDK 1.4
without any success. 


Any ideas? 




Suraj Mundada


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are
intended for the exclusive use of the addressee(s) and may contain proprietary, confidential
or privileged information. If you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and destroy all copies
of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email
and any attachments for the presence of viruses. The company accepts no liability for any
damage caused by any virus transmitted by this email.

View raw message