Administration of Card SDK includes configuration with the Configuration Manager tool. Also the status of the system can be retrieved.
...
Configure system
The Configuration Manager is the tool to configure all local settings like user interface language, printers, encoding devices and SDK license. You can start it directly using the link in the Nexus Card SDK program group from the Windows Start menu or by the corresponding desktop link. Furthermore, there is the possibility to start it by a web service request.
When starting it via web service request, you will not be able to change a few very basic settings like the web service port.
As the request opens a user interface, it may only be called from localhost.
...
...
Request and Response overview
...
Request (REST)
Code Block |
---|
POST http://localhost:54880/ConfigManager |
...
...
Request (SOAP)
Code Block |
---|
soap operation ConfigManager |
...
Request Data
Code Block |
---|
<?xml version="1.0"?>
<configuration language="EN"/> |
...
Response Data on success
Code Block | ||
---|---|---|
| ||
<?xml version="1.0"?>
<status_response>
<result_id>0</result_id>
<result_text>Success</result_text>
</status_response> |
Response Data on error see Introduction to API.
...
Request and Response in detail
Element | Attribute | Description |
---|---|---|
[in], Required. Root element for the |
| [in] Language of the user interface. For details see the notes in Introduction to API. |
...
Retrieve system status
The SystemStatus
request is used to retrieve the current system status. As the request does not have an user interface, the web service may be located at localhost or at a separate machine.
...
Request and Response overview
...
Request (REST)
Code Block |
---|
GET http://localhost:54880/SystemStatus |
...
...
Request (SOAP)
Code Block |
---|
soap operation SystemStatus |
...
Request Data
Code Block |
---|
None. Therefore, note to use HTTP GET and not POST when using REST! |
...
Response Data on success
Code Block | ||
---|---|---|
| ||
<?xml version="1.0"?>
<system_status>
<sdk version="5.0.0.151"/>
<license valid="true"/>
<machine name="Workstation75216" port="54880"/>
<production_status id="0" text="Ready"/>
</system_status>
<cards> |
Response Data on error see Introduction to API.
...
Request and Response in detail
Element | Attribute | Description |
---|---|---|
[out] Root element for the system status request. |
| [out] SDK Version according to the following four numbers scheme: <major>.<minor>.<maintenance>.<build> |
| [out] The general information (true or false) if the SDK is in charge of a valid license. | |
| [out] The machine name where the web service is installed. | |
| [out] The port number that is used by the web service. | |
| [out] The identifier and a textual representation of the current web service status. The value signals the status to accept
|