• Post Reply Bookmark Topic Watch Topic
  • New Topic

jax-ws and annotations  RSS feed

 
John Farrel
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am trying to produce a jax-ws web service that accepts a list of complex items, such that the input XML looks something like this:

<ITEMS>
<ITEM>
... values
</ITEM>
<ITEM>
... values
</ITEM>
</ITEMS>

the class looks like this:



but these annotations appear to be ignored.

all I get is the ability to add multiple
<RequestItem></RequestItem> values with no wrapper.

Do these annotations work for jax-ws?


 
John Farrel
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

For those who care, it appears this is a bug in the ant wsgen action.
If you remove xendorsed="true" from the wsgen action then it all works as expected.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!