For WOSA magnetic stripe devices, the J/XFS Device Service configuration must contain the following configuration key that identifies the WOSA service provider:
wosaSPM(String)=TESTSPI
Other configuration keys are:
Key | Description |
---|---|
wosaCancelIsOk(boolean) | Tells the device service whether the cancel command of the underlying WOSA support works. The default value is true. |
josaTraceLevel(int) | Activates the trace of the WOSA wrapper for debugging purposes. Valid
values are:
The default value is 0. |
ConsoleTrace(boolean) | Activates a console trace of the device service intended only for debugging purposes. The default value is false. |
Whenever a required key is missing or a value is incorrect, the initialization fails and an appropriate J/XFS log output is generated.
The following is an example of Device Service configuration extracted from the Read.Repository file:
9.71.1.241|MSD|serviceName(String)=com.ibm.dse.jxfsds.wosaptr.WosaMSDService 9.71.1.241|MSD|controlName(String)=com.jxfs.control.msd.JxfsMagStripe 9.71.1.241|MSD|deviceName(String)=MagStripe 9.71.1.241|MSD|description(String)=Wosa MagStripe 9.71.1.241|MSD|remoteAccess(boolean)=false 9.71.1.241|PTR|wosaSPM(String)=TESTSPI 9.71.1.241|PTR|wosaCancelIsOk(boolean)=false 9.71.1.241|PTR|josaTraceLevel(int)=3 9.71.1.241|PTR|ConsoleTrace(boolean)=true