| 15 | |
| 16 | * TogoWS Guidelines |
| 17 | |
| 18 | REST |
| 19 | |
| 20 | TogoWS stated the rulers below: |
| 21 | • http://togows.dbcls.jp/site/services.html |
| 22 | • http://togows.dbcls.jp/site/rest.html |
| 23 | • |
| 24 | How to call the entries |
| 25 | http://togows.dbcls.jp/entry/database/entry_id[,entry_id2,...]/field[.format] |
| 26 | # How to include the name space of the databases in URL: |
| 27 | • http://frnadb.example.org/entry/id instead of http://frnadb.example.org/entry/frnadb/id |
| 28 | # How to add the name spaces for the institution, release_numer of the database: |
| 29 | • http://togows.dbcls.jp/entry/birc-hinv-5.0/HIT0012345 |
| 30 | NOTE: |
| 31 | The default fotmat for the entries is “.txt”, and can be in the specified format by adding the suffix, such as “.xml”. |
| 32 | How to search the entries |
| 33 | http://togows.dbcls.jp/search/database/query+string[.format][/offset,limit[.format]] |
| 34 | http://togows.dbcls.jp/search/database/query+string/count |
| 35 | The format of "query string" to be based on “Common Query Language“ |
| 36 | |
| 37 | The conversion and data format and ID |
| 38 | http://togows.dbcls.jp/convert/data_source.format |
| 39 | Metadata |
| 40 | • The list of the databases |
| 41 | http://togows.dbcls.jp/entry/ |
| 42 | • The list of the fields |
| 43 | http://togows.dbcls.jp/entry/DB名/ |
| 44 | • The list of the formats |
| 45 | http://togows.dbcls.jp/entry/DB_name/formats |
| 46 | SOAP |
| 47 | • Calling a method with asynchronous |
| 48 | o The name for the method with asynchronous end with “Async” and return job ID |
| 49 | o Rerurn job ID to “CheckAsyncStatus?” method and give either RUNNING, COMPLETED, or ERROR |
| 50 | o Method name for the method with asynchronous mst be” BeginInvoke methods+Result” and stae job ID as a parameter |
| 51 | • Required test environment |
| 52 | o Perl: Soap::Lite 0.69 |
| 53 | o Ruby: SOAP4R 1.5.5 (Ruby 1.8.6 bundle) |
| 54 | o Python: SOAPpy 0.12.0 |
| 55 | o Java: Axis 1.4 |