Project

General

Profile

Wiki » History » Version 4

Soh Keong, 11/15/2022 03:44 PM

1 1 Soh Keong
{{toc}}
2
3 3 Soh Keong
h1. Local
4 1 Soh Keong
5 4 Soh Keong
h3. Conditions
6 2 Soh Keong
7
1. Support http POST method only. Local.jsp
8
2. Client IP & Port @ commonBean.xml
9
3. Example Request  : {"Service":"EcBvPointController","Method":"getCheckBPointBalanceByIcNo","yourParam":"yourValue"...}
10
4. Example Response : {"Data":"{"responseParam":"responseValue",...}","ResponseCode":"00000","ResponseMessage":"SUCCESS."}
11
5. No encryption involved. 
12 1 Soh Keong
13
14 4 Soh Keong
h3. Package & Classes
15 1 Soh Keong
16
|_.Project |_.Package                   |_.Class prefix |
17
| eCosway  | my.com.eCosway.controller. | Ec            |
18
| Cosway   | my.com.cosway.controller.  | Cos           |
19
| Usa      | my.com.usa.controller.     | Usa           |
20
| myStore  | my.com.myStore.controller. | Ms            | 
21 3 Soh Keong
22
h1. WebService
23
24 4 Soh Keong
h3. Conditions
25 3 Soh Keong
26
1. Parameter 
27
28
a. Data 		: Parameter + Service + Method (encrypt) 
29
b. Authetication	: FingerPrint 
30
c. Authorization	: Requester & Key 
31
32
33
h1. WADL
34
35 4 Soh Keong
h3. Conditions
36 3 Soh Keong
37
1. WADL : http://202.129.164.38:9090/OnlineWSService/HKOnline/services/
38
39
2. Parameter
40
41
a. Data 		: Parameter (encrypt)
42
b. Authetication	: FingerPrint
43
c. Authorization	: Requester & Key