[Fiware-lab-help] IoTDiscovery

mk mkardaris at f-in.gr
Fri May 22 13:13:05 CEST 2015


Dear Sir or Madam,

I tried to use IoTDiscovery with an example including in the IoT Guide
manual
and ai received always the same error. Do you know the reason. Is there any
bug.
Thank you in advance.

Marinos Kardaris

{
    "contextRegistrations": [
        {
            "entities": [
                {
                    "type": "Room",
                    "isPattern": "false",
                    "id": "Room1"
                },
                {
                    "type": "Room",
                    "isPattern": "false",
                    "id": "Room2"
                }
            ],
            "attributes": [
                {
                    "name": "temperature",
                    "type": "float",
                    "isDomain": "false"
                },
                {
                    "name": "pressure",
                    "type": "integer",
                    "isDomain": "false"
                }
            ],
            "providingApplication": "http://mysensors.com/Rooms"
        }
    ],
    "duration": "P1M"
}

I received the following error message
<registerContextResponse><errorCode><code>400</code><reasonPhrase>Bad
Request</reasonPhrase><details xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:string">Error
in XML structure</details></errorCode></registerContextResponse>


-- 
Kardaris Marinos
Systems Engineer - Aviation Expert

*Future Intelligence Ltd.*
Technological & Scientific Park of Attica "Lefkippos"
NCSR Demokritos
Branch: Scientific & Technological Park of Epirus
University of Ioannina
P: (+30) 2130417996 M: (+30)
F: (+30) 2130021245
mkardariss at f-in.gr <kanastasopoulos at f-in.gr>
http://f-in.gr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20150522/4aeddfcf/attachment.html>


More information about the Fiware-lab-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy