• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jax-ws and annotations

 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic