Hello All,
im using this code to call a WS in a Appeon 2016 PB 12.5 APP
this code work
g_ws_caller = Create appeonwebservicecomponent
g_ws_caller.calltype = "1"
g_ws_caller.proxydllorurl="http://appeon-01/ws_sicaj/n_ws_sicaj.asmx"
g_ws_caller.classdescript=""
ws_paralist[1] = sqlca1.logid
ws_paralist[2] = sqlca1.logpass
ll_Ret=g_ws_caller.of_callwebservice("uf_connect_odbc",ws_paralist)
and any other WS with 2 or less parameters
when i try call any WS with 3 or more i get an error
for example
appeonwebservicecomponent l_ws_caller
l_ws_caller = Create appeonwebservicecomponent
l_ws_caller.calltype = "1"
l_ws_caller.proxydllorurl="http://appeon-01/ws_sicaj/n_ws_sicaj.asmx"
l_ws_caller.classdescript=""
ws_paralist[1] = "A"
ws_paralist[2] = "B"
ws_paralist[3] = "C"
// ws_paralist[4] = ps_modstring
li_ws_ret =l_ws_caller.of_callwebservice("uf_test",ws_paralist)
i get this error in the error lof of appeon server
2018-05-04 10:20:08.668 : Object reference not set to an instance of an object. at Appeon.Util.WebServiceUtil.DynamicProxy.Initialzie(Int32 methodType, String fullPath, String typeName, String methodName) at Appeon.Util.WebServiceUtil.WebServiceFactory.GetProxy(Int32 methodType, String fullPath, String typeName, String methodName) at Appeon.Server.Commands.CallWebServiceCommand.ExecuteWebServiceMethod() at Appeon.Server.Commands.CallWebServiceCommand.Execute()