It appears the PaymentGatewayServices method savePgr and its associated service savePaymentGatewayResponse was originally intended to support saving either PaymentGatewayResponse OR PaymentGatewayRespMsg values but at some point this has been reduced to supporting only PaymentGatewayResponse values. Fixed by checking the entity name before running some PaymentGatewayResponse spcific code. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@821705 13f79535-47bb-0310-9956-ffa450edef68