WebMethod « jaxb « Java Enterprise Q&A





1. Can you return an array from a JAX-WS @WebMethod?    stackoverflow.com

I'm pretty sure you can, but in addition to answering the question in the title, could you also explain the pros, cons, caveats, if any, to doing so? I know that ...

2. dynamically defined webmethod arguments    stackoverflow.com

Short introduction. There is a production system where some independent clients "invent" some objects with some properties and behavior - one can assign some values to these objects, launch them into ...

3. @XmlAdapter exceptions not propagated in a @WebMethod    stackoverflow.com

I am exposing a @WebMethod whose parameter indirectly uses an @XmlAdapter. This @XmlAdapter may throw an Exception if input data is not valid. The @WebMethod is defined like this:

    ...

4. JAXB + JAX-WS? Returning an entity in a @WebMethod?    coderanch.com

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 through a web service in JAX-WS? Would this be achieved w/ coupling JAXB w/ JAX-WS? ...