Changes between Version 4 and Version 5 of S2S_WS_CONNECTOR_R0
- Timestamp:
- 01/27/09 14:37:20 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S2S_WS_CONNECTOR_R0
v4 v5 7 7 8 8 == Overview == 9 The W eb Services Connector is a client that connects to the web services of the S2S and provides the S2S_FACADE interfaces.9 The WS connector should represent the client facade implementation. It is actually the logic, which connects the client to the web services. 10 10 11 11 == Task requirements == 12 * Research the current functionality the UserWebServices provide: 12 The connector must be able to: 13 * Send requests to a concrete server. For now, the possible requests are: 13 14 * login() 14 15 * getUserGroups() 15 16 * userExists() 16 * Get into the technologies used to provide web services: 17 * [wiki:S2S_WEB_SERVICES_R0] 18 * Already there is a module for the connector classes (org.sophie2.server.connector), so there is no need of creating new modules. 19 * Currently, the connector module uses a mock facade, which provides to the client. Since there is a running testing server now, the connector should be able to connect to its web services. 20 * Write appropriate unit tests. 17 * Receive responses from the web services. 18 * Convert the XML response to a concrete object. 19 * Return the object as a result. [[BR]] 20 Implement this initial model of the connector, do not forget to write unit tests. 21 21 22 22 == Task result == 23 Source code , unit tests.23 Source code. 24 24 25 25 == Implementation idea == 26 Read about [http://velocity.apache.org/ velocity] and the design in [wiki:S2S_WEB_SERVICES_R0] to understand the format of the return result.26 There is already a module named org.sophie2.server.connector, so there is no need of creating a new module for this. 27 27 28 28