Project

General

Profile

Wiki » History » Version 6

Soh Keong, 11/15/2022 03:47 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 6 Soh Keong
1. Support http POST method only. WebService.jsp
27 5 Soh Keong
2. Parameter 
28 3 Soh Keong
29
a. Data 		: Parameter + Service + Method (encrypt) 
30
b. Authetication	: FingerPrint 
31
c. Authorization	: Requester & Key 
32
33
34
h1. WADL
35
36 4 Soh Keong
h3. Conditions
37 3 Soh Keong
38
1. WADL : http://202.129.164.38:9090/OnlineWSService/HKOnline/services/
39
40
2. Parameter
41
42
a. Data 		: Parameter (encrypt)
43
b. Authetication	: FingerPrint
44
c. Authorization	: Requester & Key