1 SOAPOBJServer

The following table shows the functions implemented by the SOAPOBJServer service:

Function Return Description
query(String database, String objcode) org.w3c.dom.Element(ResultSet) Returns an XML with the definition of the fields and variables inputs of the object that is passed as a parameter in the objcode argument.
getBinary(String database, String tabname, String colname, String cond, boolean gzip) org.w3c.dom.Element(ResultSet) Allows obtaining the content of a binary field according to the arguments based on data, table, column and condition that are passed as parameters.
getInclude(String database, String include_code, String filter_code, String filter_cond) org.w3c.dom.Element(ResultSet) Returns an XML with the data that make up a LIST BOX defined in one of the wics (wic_jdic_include) associated with the database that is passed as a parameter. If the include has a dynamic condition in the filter_code and filter_cond parameters, the reference object and the condition to be applied are passed.
execute(String database, String objcode, String qrycond, String type) org.w3c.dom.Element(ResultSet) It returns an XML with the rexecution resultf the object that is passed in the objcode parameter. The object must be cataloged in some wic associated with the exploitation database indicated in the database parameter, and the user to have the necessary privileges to execute the object in said database. You can also indicate with the argument qrycond the filter (input fields) with which the object will be executed. The format of the result obtained depends on the type parameter:
  • pdf
  • pdf-xml
  • fo-xml
  • fo-pdf
  • asc
  • xml
  • xml-softref
  • csv
  • xls
  • xls-ungroup
  • xlsx
  • xlsx-ungroup
execute(String database, String objcode, String qrycond, String type, boolean gzip) org.w3c.dom.Element(ResultSet) It works exactly the same as the previous function only that it allows the possibility of obtaining the execution result of the object in compressed format by means of the gzip parameter.
execute(String database, String objcode, String qrycond, Hashtable <String, Object> cols, Hashtable <String, Object> vars, String type) org.w3c.dom.Element(ResultSet) It works exactly like the previous function, but in this case the gzip parameter is omitted and two new parameters cols and vars of hashtable type (key, value) are added, which in the case of cols indicate the column name and value, while for vars indicate the name of the variable and the value.
execute(String database, String objcode, String qrycond, Hashtable <String, Object> cols, Hashtable <String, Object> vars, String type, boolean gzip) org.w3c.dom.Element(ResultSet) It works exactly like the previous function, but it allows the possibility of obtaining the execution result of the object in compressed format by means of the gzip parameter.
executeExist(String database, String tabname, String colname, String coldata, String qrycond, boolean allowmr, boolean docache) Hashtable <String, String> It allows to verify the existence of the value that is passed in the coldata argument on the column and the table that is passed in the colname and tabname arguments respectively. Returns value-key pairs (Hashtable) with the name of each column and its value.
executeProcess(String database, String objcode, String cmd, String[] arg_data, int[] arg_type, Hashtable <String, String[]> parameters) void It allows you to execute an xsql-script process or sql statement on the object that is passed in the objcode argument. The purpose of this function is to simulate the actions associated with buttons defined in the object form.