Class XmlRpcUtil

Object
com.liferay.portal.xmlrpc.XmlRpcUtil

public class XmlRpcUtil extends Object
Author:
Brian Wing Shun Chan
  • 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

      public static Fault createFault(int code, String description)
    • createSuccess

      public static Success createSuccess(String description)
    • 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

      public static com.liferay.portal.kernel.util.Tuple parseMethod(String xml) throws IOException
      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