Gemalto is now part of the Thales Group, find out more.

You are here

Using XML API with KeySecure 150v server | Thales IoT Developer Community

August 30, 2018 - 7:21pm, 1760 views

Hello !

I am a very beginner in Gemalto technologies and I try to use the SafeNet KeySecure XML interface and I meet some difficulties. To all my trials, I obtain the next response:

<GenericError>

     <Success>false</Success>

    <FatalError>101</FatalError>

    <ErrorString>Could not parse client request</ErrorString>

</GenericError>

I share the settings of the NAE-XML server

Protocol:               NAE-XML

IP:                     xx.xx.xx.xx

Port:                   9000

Use SSL:                no

Server Certificate:     [None]

and the information on the performed request:

url : http://NAE-XML server IP:9000

Headers :'Content-Type': 'application/xml;charset=UTF-8'

Body : 

<?xml version="1.0" encoding="UTF-8"?>
<DeviceInfoRequest>
<ID>123</ID>
</DeviceInfoRequest>

I looked in vain for examples of implementation and I need help to understand my errors in server configuration or request format.