How to work around the problem of "Enumeration type" in an existing WSDL document

From: Jennifer Chou <>
Date: Sun, 05 Jun 2005 23:13:58 -0700


     Sorry, I am not sure whether this is the right alias to ask
for this type of question. If not, please refer me to the right ones.

I am trying to use wscompile to compile an existing WSDL document
issued by Parlay-X group which contains several enumeration
usage inside the WSDL, for example :

Do I miss anything or enumeration is not the types supported by Sun JAX-RPC?
Is there any work around for this ?

              <xsd:simpleType name="CallStatus">
                  <xsd:restriction base="xsd:string">
                      <xsd:enumeration value="CallInitial"/>
                      <xsd:enumeration value="CallConnected"/>
                      <xsd:enumeration value="CallTerminated"/>

The wscompile complains about
[wscompile] modeler error: model error: invalid element: "enumeration"
[wscompile] at