Hello all,

I have added the following schema def to the types section of my wsdl, then
run wsdl2java.
Axis generated BuyerType.java, but the code appears pretty much useless.
There are no
getters or setters and no member variables to hold the string.  Is this a
problem because
the class is unable to extend java's String class?

      <xsd:simpleType name="BuyerType">
         <restriction base="xsd:string">
            <enumeration value="web"/>
            <enumeration value="auction"/>
         </restriction>
      </xsd:simpleType>

Russ

Reply via email to