10 - 4 CA50/UCA Client & Server Developer & User Guide
Request Format
The first line of the Request is the "Request Line". A "Request Line" consists of the request method (GET or
POST), the absolute URI being requested and the HTTP version. The "Request Line" is terminated by a CRLF.
Requests use the GET method when form data is not being submitted to the server. The GET or the POST method
is used to submit form data. The "method" element of the form selector decides whether or not the form data uses
the GET or POST method. The UCA client application browser uses the POST method when the "method" element
is not contained in the form selector. The "Request Line" is followed by several header fields. Header fields have
the format "name:value" pair. The following examples show the initial connection Request and a typical form
submission Request:
HTTP Command:GET
URI:
/Server/GetUser.apsx?sStoreNo=0002&sIPAddress=111.111.111.1111&sSerialNo=00000000&sMAC=11AA1314151
6&sDeviceType=Motorola UCA&sClientVersion= 1.01 HTTP/1.1<CF><LF>
User-Agent:
UCAClient
Host:
111.111.111.111<CR><LF>
Connection:
Keep-Alive<CR><LF><CR><LF>
HTTP Command:
POST
URI:
/Server/GetUser.apsx
HTTP Version
HTTP/1.1<CR><LF>
Accept:
*/*
Content-Type:
application/x-www-form-uriencoded.charset=utf-8<CR><LF>
IPAddress:
111.111.111.111<CR><LF>
SerialNo:
12345678<CR><LF>
MAC:
11AA13141516<CR><LF>
PlatformInfo:
Motorola WinCE<CR><LF>
Host:
111.111.111.111<CR><LF>
User-Agent:
htmlayout 3.1 ; UCAClient ; Windows CE<CR><LF>
Content-Length: 84
Connection:
Keep-Alive<CR:<LF>
Cache-Control:
no-cache<CR><LF>
Form Data:
username=10007310
Motorola's additional HTTP headers provided by the UCA client application browser are defined as follows.
IPAddress - IP address of the device.
SerialNo - As mentioned earlier, this name value pair is currently not fully implemented at this time and the
SerialNo is invalid.
MAC - The MAC address of the device
PlatformInfo - This is the platform information obtained from the Windows CE API SystemParametersInfo function.
Response Format
The Web server is responsible for the content of the Response header. The Response body must be a well-formed
HTML document for the UCA client application browser to parse.
NOTE
The SerialNo name value pair is not fully implemented at this time and the SerialNo value is invalid.
NOTE
The SerialNo name value pair is not fully implemented at this time and the SerialNo value is invalid.
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: ......