web services - different Response objects from SOAP Webservice? -


in jax-ws response object string or xml format.

can have 2 kinds of response objects.

i mean, based on flag, xml or json response output?

is there objectwrapper kind of solution?

am new jax-ws ,so totally clueless. thanks

according wikipedia here, don't need xml represent soap message. looks need soap bindings support json. reading description in article makes sound can't set flag , have response format change based on that.

if want set flag generate different response format, consider rest architecture instead. in rest, send different accept header specify format of response want. there wouldn't need flag in application specific data handle data format since that's more of metadata concern anyways.


Comments