Changes between Version 39 and Version 40 of GuidelineForWebService
- Timestamp:
- 2009/03/24 16:03:32 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GuidelineForWebService
v39 v40 13 13 * Lower-case letters should be used for path parameters in principle. 14 14 * If a URL ends "/", a list of possible strings after the URL should be returned in principle. 15 * When a method returns a list, each line should correspond to an entry and each line should be divided by tab into fields. 15 * When a method returns a list, each line should correspond to an entry and each line should be divided by tab into fields. 16 * As REST web services can be called from AJAX, an alternative could be [http://www.json.org/ JSON]. 17 * [http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html HTTP codes] should be used for error signaling. It is allowed to also send in the answer some text. 16 18 17 19 * SOAP 18 20 * A manual for each method should be provided. 19 21 * The manual should include examples of parameters such that the method works well by them. 20 * Each method should be verified to use Java, Perl, Ruby and Python. 21 * Providing sample codes for such languages is recommended. 22 * Each method should be verified to use Java ([https://jax-ws.dev.java.net/ JAX-WS], [https://jaxb.dev.java.net/ JAXB]), Perl ([http://www.soaplite.com/ SOAP::Lite]), Ruby and Python ([http://www.ibm.com/developerworks/webservices/library/ws-pyth5/ SOAP.py], [http://pywebsvcs.sourceforge.net/ ZSI], [http://code.google.com/p/tgws/ TGWebServices] or [http://trac.optio.webfactional.com/ soaplib]). 23 * Providing sample codes for the common SOAP toolkits in such languages is recommended. 24 * Providing test case projects for free testing packages like [http://www.soapui.org/ soapUI] 22 25 * For asynchronous services, a job ID should be provided. 23 * When any error occurs during processing at a server, a method should return "SOAP Fault".26 * When any unrecoverable error occurs during processing at a server, a method should return "SOAP Fault". 24 27 25 28 * The following data types should be used: 26 * INSDCfor sequences,27 * MIAMIfor expression data,28 * GLYDE-IIfor glycans,29 * tab format for key-value.29 * [http://www.insdc.org/page.php?page=home INSDC INSDSeq] for sequences, 30 * [http://www.mged.org/Workgroups/MIAME/miame.html MIAME] for expression data, 31 * [http://glycomics.ccrc.uga.edu/GLYDE-II/ GLYDE-II] for glycans, 32 * Tab format for key-value. 30 33 31 34 * REST or SOAP 32 * For methods to get an entry or search entries by keywords, REST is recommended. For methods of analysis service, SOAP is recommended.35 * For retieval methods (to get an entry or search entries by keywords), REST is recommended. For methods of analysis service, SOAP is recommended. 33 36 34 37