Hi,
I am not a expert but by WSI-BP R2211 i think null is not allowed when its
boolean.

The WSI-BP R2211  is as below:
R2211 An ENVELOPE described with an rpc-literal binding MUST NOT have the
xsi:nil attribute with a value of "1" or "true" on the part accessors.


So throwing a Fault when any input is null is not correct. (I think for
string types we can have null)

                    if (o == null) {
                        //WSI-BP R2211 - RPC/Lit parts are not allowed to be
xsi:nil
                        throw new Fault(
                            new
org.apache.cxf.common.i18n.Message("BP_2211_RPCLIT_CANNOT_BE_NULL",
                                                                   LOG,
part.getConcreteName()));
                    }


Please verify and if this qualifies for a JIRA.

Thanks in advance.

Regards,
Neela




--
View this message in context: 
http://cxf.547215.n5.nabble.com/RPCOutInterceptor-java-WSI-BP-R2211-RPC-Lit-parts-are-not-allowed-to-be-xsi-nil-tp5747317.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to