Application Level Events (ALE) User's Guide

From RifidiWiki

Revision as of 21:10, 12 January 2016 by Manuel transcends (Talk | contribs)

Jump to: navigation, search

Note: Leverage similar approach to REST - below is just my thoughts - open to other ways to approach

Introduction

Configuration

such as JVM args with explanation

How to Test ALE Operations

Set up testing

Execute

1. Start Rifidi server

Start the Rifidi server

2. Start Rifidi emulator

Start the Rifidi emulator, create an LLRP reader type, start it, and then create some Gen2 tags, and drag and drop some of them to emulated reader's antenna

3. Validate ALE and ALELR Web services are running

To validate ALE Web service, go to http://localhost:8112/aleservice?wsdl and you should see the web service definition

Validate

ALE Operations

Note: for each operation example request/response/wsdl

getEndpoint()

setEndpoint(String endPointName)

define(String specName, String specFilePath)

undefine(String specName)

getECSpec(String specName)

getECSpecNames()

subscribe(String specName, String notificationUri)

unsubscribe(String specName, String notificationUri)

poll(String specName)

immediate(String specFilePath)

getSubscribers(String specName)

getStandardVersion()

getVendorVersion()

ALELR Operations

getEndpoint()

setEndpoint(String endPointName)

define(String readerName, LRSpec spec)

undefine(String readerName)

update(String readerName, LRSpec spec)

getLogicalReaderNames()

getLRSpec(String readerName)

addReaders(String readerName, String[] readers)

setReaders(String readerName, String[] readers)

removeReaders(String readerName, String[] readers)

setProperties(String readerName, LRProperty[] properties)

getPropertyValue(String readerName, String propertyName)

getStandardVersion()

getVendorVersion()

Example Rifidi App/Client

Personal tools