10 - 16 CA50/UCA Client & Server Developer & User Guide
Business Applications and their Extensions
During the execution of a Web based business application it may be necessary to interface with the UCA server to
query user information or status. This functionality is provided through the Business Application Extensions. This
Web service exposes methods that can be called from a Web application.
Business Application Extensions Web Service
In the default installation, the business application extensions are located at:
http://UCAInstallMachine/Motorola/UCA/Client/BAPExtensions.asmx
Business Application Extensions Methods
UpdateUCAUserSession
This method is used to keep the user's UCA server session alive. The UCA server monitors user activity as it
applies to the UCA server. For example, the UCA server recognizes a UCA phone book lookup as user activity. A
phone book lookup updates the user's activity in the server and keeps the user's session alive. If the UCA server
does not see user activity for a period of time, it logs off the user.
A business application is a completely separate application that may not even reside on the UCA server. If a user
only accesses a business application, and never accesses the UCA server (after login), it is possible for the UCA
server to log off the user due to lack of activity. The UpdateUCAUserSession method, when called from a business
application, updates the user's session in the UCA database.
int UpdateUCAUserSession(string sStoreNumber, string sUser, ref UCAWebServiceStatus WSStatus)
Parameters
sStoreNumber
Store or location number.
sUser
User ID.
WSStatus
UCAWebServiceStatus class describes the status of the call.
Return Values
Returns 1 when successful.
Remarks
Any errors are logged to NT Event log.
GetDeviceUserFromIP
This method is used to lookup a CA50 device user User ID, using the device's IP address as the key.
int GetDeviceUserFromIP(string sStoreNumber, string sIpAddr, ref string sUser,
ref UCAWebServiceStatus WSStatus)
Summary of Contents for CA50
Page 1: ...CA50 UCA Client Server Developer User Guide ...
Page 2: ......
Page 3: ...CA50 UCA Client Server Developer User Guide 72E 93914 02 Revision A November 2009 ...
Page 18: ...xvi CA50 UCA Client Server Developer User Guide ...
Page 24: ...xxii CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 30: ...1 6 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 34: ...2 4 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 48: ...3 14 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 106: ...4 58 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 109: ...UCA Client Application on the CA50 5 3 Page intentionally blank ...
Page 110: ...5 4 CA50 UCA Client Server Developer User Guide ...
Page 135: ...UCA Server 6 25 Figure 6 30 Installing Prerequisites Figure 6 31 SQL Server Setup ...
Page 200: ...7 32 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 284: ...9 56 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 302: ...10 18 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 350: ...11 48 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 358: ...12 8 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 418: ...A 6 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 436: ...B 18 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 478: ...E 12 CA50 UCA Client Server Developer User Guide 6 7 8 9 10 11 ...
Page 488: ...F 4 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 492: ...G 4 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 510: ...I 14 CA50 UCA Client Server Developer User Guide Page intentionally blank ...
Page 538: ...Index 12 CA50 UCA Client Server Developer User Guide ...
Page 540: ......
Page 541: ......