• 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

JAXB + JAX-WS? Returning an entity in a @WebMethod?

 
Ranch Hand
Posts: 207
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm only slightly familiar w/ web services from my time w/ .NET and have never built anything beyond "Hello World" w/ JAX-WS...so forgive my ignorance.

I know you can represent complex types, such as entities using XML - Can I pass an entity and/or a List<EntityName> through a web service in JAX-WS? Would this be achieved w/ coupling JAXB w/ JAX-WS? I've been googling around for examples and I'm not finding any w/ this concept in mind, specifically.

Could someone point me to some resources on how this is achieved?

I'm using Glassfish V1 and its JAX-WS 2.0 spec.

Thanks!
 
reply
    Bookmark Topic Watch Topic
  • New Topic