Changes between Version 8 and Version 9 of S2S_WEB_SERVICES_R0
- Timestamp:
- 12/19/08 20:47:32 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified S2S_WEB_SERVICES_R0
v8 v9 34 34 The class diagram :[[BR]] 35 35 [[Image(source:/trunk/sophie2-platform/modules/org.sophie2.server/doc/S2S_WEB_SERVICES_R0.jpg)]] [[BR]] 36 * The XMLManagementService is used to convert ! ProObjectsand basic types to XML result. It uses the Velocity template engine ([http://velocity.apache.org for details]).36 * The XMLManagementService is used to convert !AbstractEntity and basic types to XML result. It uses the Velocity template engine ([http://velocity.apache.org for details]). 37 37 * For now the !UserManager and it's server side implementation are basic Facade, which uses directly the Core's !UserService methods. 38 38 * The !UserWebService is !HttpServlet that acts like an REST web service. It receives GET parameters on it's url, the first is the name of the method to call, and the others it's arguments. !UserWebService invokes the !UserManager server implementation methods and returns the results in the form of an XML documents by it's response using the XMLManagmentService. 39 39 * For the first revision there will be no escaping of invalid XML characters and security logic like encoding/decoding of passwords and mail addresses. 40 40 * For the first revision the facade will be simple but in the future the web services will grant access to the whole Facade 41 * The XML converting of !ProObjects containing references to other !ProObject will be implemented at later revision. 41 * The XML converting of !AbstractEntities containing references to other !AbstractEntities will be implemented at later revision. 42 * XMLManagementService will be able to convert Strings, booleans and integers for now. 43 * The result XML that the web services will post will be with root tag "result". 44 * XML result from an !AbstractEntity; Example : [source:trunk/sophie2-platform/modules/org.sophie2.server/doc/EntityXML.xml] 45 * XML result from an list of entities; Example : for empty one [source:trunk/sophie2-platform/modules/org.sophie2.server/doc/EmptyListEntitiesXML.xml] end for not empty [source:trunk/sophie2-platform/modules/org.sophie2.server/doc/ListEntitiesXML.xml] 46 * XML result for an basic type; Example [source:trunk/sophie2-platform/modules/org.sophie2.server/doc/BasicTypeXML.xml] 47 * XML result for an null object : Example [source:trunk/sophie2-platform/modules/org.sophie2.server/doc/NullObjectXML.xml] 42 48 43 49