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

No members online now.

Forum statistics

Threads
474,001
Messages
2,570,255
Members
46,852
Latest member
CarlaDowle

Latest Threads

Top