Details
Description
currently in CxfConsumer we have code like
BindingOperationInfo boi = cxfExchange.getBindingOperationInfo(); // make sure the "boi" is remained as wrapped in PAYLOAD mode if (dataFormat == DataFormat.PAYLOAD && boi.isUnwrapped()) { boi = boi.getWrappedOperation(); cxfExchange.put(BindingOperationInfo.class, boi); }
however, the boi could be NULL if the message PAYLOAD not match the ServiceModel, which means can't determine the operation from the PAYLOAD, should add a NPE guarder before boi.isUnwrapped to avoid the NPE