This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes JAXB + JAX-WS?  Returning an entity in a @WebMethod? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAXB + JAX-WS?  Returning an entity in a @WebMethod?" Watch "JAXB + JAX-WS?  Returning an entity in a @WebMethod?" New topic
Author

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

Vinnie Jenks
Ranch Hand

Joined: Apr 26, 2004
Posts: 207
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!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JAXB + JAX-WS? Returning an entity in a @WebMethod?
 
Similar Threads
PASSED SCDJWS (310-230) with 98%
A question related to creating java based webservices
Jax-ws using different proxy servers
Why JAX-WS over JAX-RPC + JAXB
How to marshal data from a SOAP header and write it to disc