Hi guys,
I'm using ServiceMix 3.1.2 and its jsr181 to deploy my own ws-annotated
pojo.
I need to return null values in my code, I'm using an example to be clear:
here is my return type object:
class returnType
{
String h;
Integer i;
}
and this is my code:
p=new returnType();
p.h="goofy";
p.i=null;
and here is the generated response message:
<returnType>
<h>goofy</h>
<returnType>
while I need
<returnType>
<h>goofy</h>
<i/>
<returnType>
there is a way to achive this??
I forget returnType is annotated too.
Thank you all,
regards
Simone
<returnType>