Skip to main content

zsd:choice repeating name

1 reply [Last post]
sharmagrv
Offline
Joined: 2005-07-12
Points: 0

Hi everyone,

I have a schema that needs to be sent across in SOAP message, please note that this schema is not controlled by us. I have attached an abridged version of this schema. The purpose for such a complicated schema is:
If A1 is present, it can also have A2
But if A1 is not present A2 has to be there

The schema for the same is attached at the end.

Problem is when I use AXIS, it creates a new var A22?? Cant seems to find the origin and the meaning of the schema is completely lost. On trying Jaxws, it just doesn’t create any arg structure code but creates a List. Can anyone help me with this problem?

The structure:

PS: The actual structure is much more complicated having many more condition, but this is the bare minimum I could reduce to.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kohsuke
Offline
Joined: 2003-06-09
Points: 0

I don't think you can map this to anything other than a List, which is unfortunate, I agree.