Difference between revisions of "Application Level Events (ALE) User's Guide"
From RifidiWiki
(→Execute) |
(→Execute) |
||
Line 15: | Line 15: | ||
===2. Start Rifidi emulator=== | ===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 | 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 <a href = "http://localhost:8112/alelrservice?wsdl">http://localhost:8112/aleservice?wsdl</a> and you should see the web service definition | ||
==Validate== | ==Validate== |
Revision as of 21:10, 12 January 2016
Note: Leverage similar approach to REST - below is just my thoughts - open to other ways to approach
Contents
- 1 Introduction
- 2 Configuration
- 3 How to Test ALE Operations
- 4 ALE Operations
- 4.1 getEndpoint()
- 4.2 setEndpoint(String endPointName)
- 4.3 define(String specName, String specFilePath)
- 4.4 undefine(String specName)
- 4.5 getECSpec(String specName)
- 4.6 getECSpecNames()
- 4.7 subscribe(String specName, String notificationUri)
- 4.8 unsubscribe(String specName, String notificationUri)
- 4.9 poll(String specName)
- 4.10 immediate(String specFilePath)
- 4.11 getSubscribers(String specName)
- 4.12 getStandardVersion()
- 4.13 getVendorVersion()
- 5 ALELR Operations
- 5.1 getEndpoint()
- 5.2 setEndpoint(String endPointName)
- 5.3 define(String readerName, LRSpec spec)
- 5.4 undefine(String readerName)
- 5.5 update(String readerName, LRSpec spec)
- 5.6 getLogicalReaderNames()
- 5.7 getLRSpec(String readerName)
- 5.8 addReaders(String readerName, String[] readers)
- 5.9 setReaders(String readerName, String[] readers)
- 5.10 removeReaders(String readerName, String[] readers)
- 5.11 setProperties(String readerName, LRProperty[] properties)
- 5.12 getPropertyValue(String readerName, String propertyName)
- 5.13 getStandardVersion()
- 5.14 getVendorVersion()
- 6 Example Rifidi App/Client
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 <a href = "http://localhost:8112/alelrservice?wsdl">http://localhost:8112/aleservice?wsdl</a> and you should see the web service definition
Validate
ALE Operations
Note: for each operation example request/response/wsdl