Skip to main content

JWSDP and Enumeration data type support

2 replies [Last post]
chou_jennifer
Offline
Joined: 2005-06-05

Hi,

Not sure this is the right alias to post JWSDP question. If not, sorry.

We need to switch from Axis 1.2 to JWSDP 1.5. As first time user on JWSDP, I have encountered the following problem:

When using wscompile in build.xml to compile an existing
WSDL document which contains several enumeration
usage. The wscompile complains about
[wscompile] modeler error: model error: invalid element: "enumeration"

For example, WSDL section:

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

Thanks,

Jennifer

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vivekp
Offline
Joined: 2003-06-10

xs:enumeration is supported by JWSDP 1.5.

Can you send the wsdl and associated schemas and I will see whats going on?

-vivek.

chou_jennifer
Offline
Joined: 2005-06-05

Hi Vivek,

Thanks for the reply. Got it figured out. My WSDL missing the to enclose the enumeration.

Regards,

Jennifer