Re: How to return null element with Camel-CXF

2014-02-16 Thread Chubutin
deserialize the response you get a null element, so you should not check anything inside an instance. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-return-null-element-with-Camel-CXF-tp5747194p5747392.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to return null element with Camel-CXF

2014-02-13 Thread Aki Yoshida
.endChoice() > > > I know this is not performant, but It's a solution > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-return-null-element-with-Camel-CXF-tp5747194p5747196.html > Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to return null element with Camel-CXF

2014-02-12 Thread Chubutin
but It's a solution -- View this message in context: http://camel.465427.n5.nabble.com/How-to-return-null-element-with-Camel-CXF-tp5747194p5747196.html Sent from the Camel - Users mailing list archive at Nabble.com.

How to return null element with Camel-CXF

2014-02-12 Thread Chubutin
(fields[x] != null) { fields[x].set(wrapperObject, lst.get(x)); } } The line remarked is what get the NPE. So in debugging I initialized a List and put a null element to the list. And with this I had a null valid response! So, Does I always hav