Hi to all !
Of_getclienttype function return only "PB" value (pbl in C:\inetpub\wwwroot\appeon\developTempFile\appeon_workarounds release of september '17).
I deploy a web app to local powerserver web, but this function return "".
Is the function complete? Where I can find the complete pbl?
I would like to use of_callwebservice function
I'm using PB version 2017 build 1666 with powerserver web.
Thanks in advance.
//------------------------------------------------------------------------------
// Function: appeonextfuncs::of_getclienttype()
//------------------------------------------------------------------------------
// Description:
// Gets the type of an application.
// Returns "PB" if the application runs in PowerBuilder.
//
// Arguments: (None)
//
// Returns: string
// WEB :Runs on the Web .
// PB :Runs in the PowerBuilder enviorment.
// MOBILE :Runs on the Mobile.
//------------------------------------------------------------------------------
// Author: APPEON Date: 2005-11
//------------------------------------------------------------------------------
// Revision History:
// 1.0 Initial version
//==============================================================================
RETURN "PB"
This is my pb code:
appeonwebservicecomponent appeonws
appeonws = create appeonwebservicecomponent
setnull(ll_null)
la_params[1] = ...
la_params[2] = ...
la_params[3] = ...
la_params[4] = ..
appeonws.calltype="1"
appeonws.proxydllorurl=ls_webserviceurl
appeonws.classdescript=""
ll_rc = appeonws.of_callwebservice("....",la_params)
if isnull(ll_rc) then ll_rc = -1
if ll_rc > 0 then
else
ls_path_client = AppeonGetCacheDir()
...
end if
destroy appeonws
of_callwebservice function works fine. Global function AppeonGetCacheDir() and AppeonGetClientType() return empty string, not a "WEB" string.
I'll try to replace the global functions with the appeonextfuncs object.
Thank you very much.