Package com.liferay.portal.xmlrpc
Class XmlRpcUtil
Object
com.liferay.portal.xmlrpc.XmlRpcUtil
- Author:
- Brian Wing Shun Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
buildMethod
(String methodName, Object[] arguments) static Fault
createFault
(int code, String description) static Success
createSuccess
(String description) static com.liferay.portal.kernel.xmlrpc.Response
executeMethod
(String url, String methodName, Object[] arguments) static com.liferay.portal.kernel.util.Tuple
parseMethod
(String xml) static com.liferay.portal.kernel.xmlrpc.Response
parseResponse
(String xml) static String
-
Constructor Details
-
XmlRpcUtil
public XmlRpcUtil()
-
-
Method Details
-
buildMethod
public static String buildMethod(String methodName, Object[] arguments) throws com.liferay.portal.kernel.xmlrpc.XmlRpcException - Throws:
com.liferay.portal.kernel.xmlrpc.XmlRpcException
-
createFault
-
createSuccess
-
executeMethod
public static com.liferay.portal.kernel.xmlrpc.Response executeMethod(String url, String methodName, Object[] arguments) throws com.liferay.portal.kernel.xmlrpc.XmlRpcException - Throws:
com.liferay.portal.kernel.xmlrpc.XmlRpcException
-
parseMethod
- Throws:
IOException
-
parseResponse
public static com.liferay.portal.kernel.xmlrpc.Response parseResponse(String xml) throws com.liferay.portal.kernel.xmlrpc.XmlRpcException - Throws:
com.liferay.portal.kernel.xmlrpc.XmlRpcException
-
wrapValue
public static String wrapValue(Object value) throws com.liferay.portal.kernel.xmlrpc.XmlRpcException - Throws:
com.liferay.portal.kernel.xmlrpc.XmlRpcException
-