Difference between revisions of "Application Level Events (ALE) User's Guide"

From RifidiWiki

Jump to: navigation, search
(3. Validate ALE and ALELR Web services are running)
(3. Validate ALE and ALELR Web services are running)
Line 18: Line 18:
 
===3. Validate ALE and ALELR Web services are running===
 
===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
 
To validate ALE Web service, go to http://localhost:8112/aleservice?wsdl and you should see the web service definition
 +
 +
To validate ALELR Web service, go to http://localhost:8112/alelrservice?wsdl and you should see the web service definition
  
 
==Validate==
 
==Validate==

Revision as of 21:13, 12 January 2016

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

To validate ALELR Web service, go to http://localhost:8112/alelrservice?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