Author: jaz
Date: Wed Mar 28 11:46:09 2007
New Revision: 523435
URL:
http://svn.apache.org/viewvc?view=rev&rev=523435Log:
RPC calls now return service errors as an XML response; not as an exception
Modified:
ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/XmlRpcEventHandler.java
Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/XmlRpcEventHandler.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/XmlRpcEventHandler.java?view=diff&rev=523435&r1=523434&r2=523435==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/XmlRpcEventHandler.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/event/XmlRpcEventHandler.java Wed Mar 28 11:46:09 2007
@@ -205,7 +205,7 @@
throw new XmlRpcException(e.getMessage(), e);
}
if (ServiceUtil.isError(resp)) {
- throw new XmlRpcException(ServiceUtil.getErrorMessage(resp));
+ Debug.logError(ServiceUtil.getErrorMessage(resp), module);
}
return resp;