An Enum like below:
public enum CustomerType {
PRIVATE, BUSINESS
}
Can be represented in WSDL as:
<xs:simpleType name="customerType">
<xs:restriction base="xs:string">
<xs:enumeration value="PRIVATE"/>
<xs:enumeration value="BUSINESS"/>
</xs:restriction>
</xs:simpleType>
How can we represent enum like below in WSDL:
public enum CustomerType {
PRIVATE{public BigInteger getNcid() {
return new BigInteger("1");
},
BUSINESS{public BigInteger getNcid() {
return new BigInteger("2");
}
public abstract BigInteger getNcid();
}
--
View this message in context:
http://cxf.547215.n5.nabble.com/Enum-Representation-in-WSDL-tp5728492.html
Sent from the cxf-user mailing list archive at Nabble.com.