Win a 3 month subscription to Marco Behler Videos this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Vinnie Jenks
Ranch Hand
Posts: 207
  • Mark post as helpful
  • send pies
  • 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/ 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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!