Hi,
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"/>
</xsd:restriction>
</xsd:simpleType>
The wscompile complains about
[wscompile] modeler error: model error: invalid element: "enumeration"
[wscompile] at
com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.buildModel(WSDLModelerBase.java:274)
...
Thanks,
Jennifer