Re: [CXF2.2.3][JAX-WS][Code-First][RPC/Lit] Handling null response

2009-09-08 Thread Gabo Manuel
Just to record for everyone else. Again my thanks to Dan. The specific "rule" is in the WSI Basic Profile: http://www.ws-i.org/profiles/basicprofile-1.1.html Section 4.4.1: R2211 An ENVELOPE described with an rpc-literal binding MUST NOT have the xsi:nil attribute with a value of "1" or "tru

Re: [CXF2.2.3][JAX-WS][Code-First][RPC/Lit] Handling null response

2009-09-04 Thread Daniel Kulp
There pretty much isn't a way to allow nulls for parameters with rpc/lit. Its completely against spec and the tck actually tests it. The part accessor elements aren't allows to have xsi:nil="true" on them. :-(When I first discovered this, I actually went and tracked down some wsdl folks

[CXF2.2.3][JAX-WS][Code-First][RPC/Lit] Handling null response

2009-09-04 Thread Gabo Manuel
Hi All, I developed a basic crud service. It is set to RPC/Lit. Everything works fine for valid transactions, i.e. those with non-null results. But when I try to retrieve a non-existing record, I end up with the following error: org.apache.cxf.interceptor.Fault: Cannot write part currency. R