Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Administration of Card SDK includes configuration with the Configuration Manager tool. Also the status of the system can be retrieved.

Expand
titleConfigure 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.

Image Modified

Expand
titleRequest and Response overview


Code Block
titleRequest (REST)
POST http://localhost:54880/ConfigManager


Code Block
titleRequest (SOAP)
soap operation ConfigManager


Code Block
titleRequest Data
<?xml version="1.0"?>
<configuration language="EN"/>


Code Block
languagexml
titleResponse Data on success
<?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.


Expand
titleRequest and Response in detail


ElementAttributeDescription

configuration

[in], Required. Root element for the ConfigurationManger request.

language

[in] Language of the user interface. For details see the notes in Introduction to API.




Expand
titleRetrieve 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.

Expand
titleRequest and Response overview


Code Block
titleRequest (REST)
GET http://localhost:54880/SystemStatus


Code Block
titleRequest (SOAP)
soap operation SystemStatus


Code Block
titleRequest Data
None. Therefore, note to use HTTP GET and not POST when using REST!


Code Block
languagexml
titleResponse Data on success
<?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.

 


Expand
titleRequest and Response in detail


ElementAttributeDescription

system_status

[out] Root element for the system status request.



sdk/@version

[out] SDK Version according to the following four numbers scheme:

<major>.<minor>.<maintenance>.<build>

license/@valid

[out] The general information (true or false) if the SDK is in charge of a valid license.

machine/@name

[out] The machine name where the web service is installed.

system/machine/@port[out] The port number that is used by the web service.

production_status/@id
production_status/@text

[out] The identifier and a textual representation of the current web service status. The value signals the status to accept CardJob requests.

  • id = 0 means the service is ready. A sent card job will be processed immediately.
  • id = 1 means the service is busy. If a new card job is sent it is queued (which means the request will only return when the current card job request is processed).