jaxb with Switch or Strategy?

P

Peter Horlock

Hi,

we got a partner sending SOAP,
which we unmarshal using JAXB.
The answer may be a regular response
or an error. However, the error document is totally different from
the regular answer, it's a different document...

Is there a way to put some kind of a switch into JAXB,
so based on the response it will always return the related
object?

Thanks,

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,057
Members
48,769
Latest member
Clifft

Latest Threads

Top