Personal tools

ACE Ims Webservice: Difference between revisions

From Adapt

Jump to: navigation, search
No edit summary
No edit summary
Line 51: Line 51:
|-
|-
|requests||List of [[#TokenRequest|TokenRequest]]|
|requests||List of [[#TokenRequest|TokenRequest]]|
|}


'''Return Type'''
'''Return Type'''


List[[#TokenResponse|TokenResponse]]
List of [[#TokenResponse|TokenResponse]]




Line 63: Line 64:
'''Parameters'''
'''Parameters'''


|*Name*|*Type*|*Description*|
{| width="75%"
|'''Name'''|'''Type'''|'''Description'''
|}
 


'''Return Type'''
'''Return Type'''
Line 71: Line 75:
'''Parameters'''
'''Parameters'''


|*Name*|*Type*|*Description*|
{| width="75%"
|'''Name'''|'''Type'''|'''Description'''
|}


'''Return Type'''
'''Return Type'''
Line 80: Line 86:
===IMSFault===
===IMSFault===


|*Name*|*Type*|*Description*|
{| width="75%"
|'''Name'''|'''Type'''|'''Description'''
|-
|message|String
|message|String
|serverFault|boolean|
|serverFault|boolean|
|statusCode|int|Status code indicating type of failure - See [[AceV3StatusCodes][Status Code Documentation]] for details |
|statusCode|int|Status code indicating type of failure - See [[AceV3StatusCodes][Status Code Documentation]] for details |
|}


#LinkResponse
#LinkResponse
===LinkResponse===
===LinkResponse===


|*Name*|*Type*|*Description*|
{| width="75%"
|'''Name'''|'''Type'''|'''Description'''
|-
|previousHash|String|
|previousHash|String|
|rootHash|String|
|rootHash|String|
Line 94: Line 105:
|timestamp|dateTime|
|timestamp|dateTime|
|tokenClassName|String|
|tokenClassName|String|
|}




Line 99: Line 111:
===TokenReceipt===
===TokenReceipt===


|*Name*|*Type*|*Description*|
{| width="75%"
|'''Name'''|'''Type'''|'''Description'''
|}


#TokenRequest
#TokenRequest
===TokenRequest===
===TokenRequest===


|*Name*|*Type*|*Description*|
{| width="75%"
|'''Name'''|'''Type'''|'''Description'''
|-
|hashValue|String|
|hashValue|String|
|name|String|
|name|String|
|}


#TokenResponse
#TokenResponse

Revision as of 19:59, 9 September 2008

Overview

The IMS wsdl document is available here http://ims.umiacs.umd.edu:8080/ace-ims/IMSWebService?wsdl

Methods

requestLink

Parameters

Name Type Description
tokenClassName String Name of token class to link this hash into
hashValue String Value to link

Return Type

[[#LinkResponse][LinkResponse]]

requestTokensAsync

Add tokens to the currently active round. Clients will need to call retrieveTokens to request created tokens after the round has finished. This call is to allow for non-blocking operation.

Parameters

Name Type Description
tokenClassString String
requests List of TokenRequest

Return Type

TokenReceipt receipt to be used to retrieve token responses

requestTokensImmediate

Force a round to process, designed to be a blocking call. Any tokens supplied in this call plus any async tokens supplied since last round will be included in this current round. Resulting tokens for requests will be returned to client.

Parameters

Type|Description
tokenClassString String
requests List of TokenRequest|

Return Type

List of TokenResponse


getRoundSummaries

Return the requested round summaries

Parameters

Type|Description


Return Type

retrieveTokens

Parameters

Type|Description

Return Type

Data Types

  1. ImsFault

IMSFault

Type|Description
String boolean| int|Status code indicating type of failure - See [[AceV3StatusCodes][Status Code Documentation]] for details |
  1. LinkResponse

LinkResponse

Type|Description
String| String| long| dateTime| String|


  1. TokenReceipt

TokenReceipt

Type|Description
  1. TokenRequest

TokenRequest

Type|Description
String| String|
  1. TokenResponse

TokenResponse

|*Name*|*Type*|*Description*| |digestProvider|String|Name of the java provider for the digest service| |digestService|String|Java name for the type of digest (ie, SHA-256)| |name|String|Name supplied by client for this token| |proofElements|List of [[#ProofElement][ProofElements]]| |roundId|long|current round id this token was processed in| |statusCode|int|status code indicating type of response - See [[AceV3StatusCodes][Status Code Documentation]] for details| |timeStamp|dateTime|Time the round was processed| |tokenClassName|String|Name of token class on IMS that was used|


  1. ProofElement

TokenResponse

|*Name*|*Type*|*Description*| |hashes|List of String| |index|int|