You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "M.Ismail" <mo...@gmail.com> on 2016/07/11 18:02:59 UTC
arrayKeys and serializeAsArray support
Hi,
I am using camel 2.13 and CXF 2.7.7 and I am using the workaround
serializeAsArray and arrayKeys to solve the single item array issue.
However, the webservice specs that I call have changed and I can this
workaround isn't applicable anymore. What are my options now?
1- Can I use the Jackson provider if it doesn't have this single item array
issue?
2- Should I use a custom mapper for the exception case that prevented me to
use arrayKeys? If so can you please, provide a sample?
Regards,
Ismail
--
View this message in context: http://cxf.547215.n5.nabble.com/arrayKeys-and-serializeAsArray-support-tp5770305.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: arrayKeys and serializeAsArray support
Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi
On 11/07/16 21:02, M.Ismail wrote:
> Hi,
>
> I am using camel 2.13 and CXF 2.7.7 and I am using the workaround
> serializeAsArray and arrayKeys to solve the single item array issue.
> However, the webservice specs that I call have changed and I can this
> workaround isn't applicable anymore. What are my options now?
Why it is not applicable any longer ?
>
> 1- Can I use the Jackson provider if it doesn't have this single item array
> issue?
Sure, try it if you'd like
> 2- Should I use a custom mapper for the exception case that prevented me to
> use arrayKeys? If so can you please, provide a sample?
>
In general you can register an exception mapper for any exception that
will escape without this mapper
Cheers, Sergey
> Regards,
> Ismail
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/arrayKeys-and-serializeAsArray-support-tp5770305.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>