[Fiware-lab-help] Actuator problem

Ivan Trančík ivan.trancik at gmail.com
Fri Sep 6 05:42:23 CEST 2013


Hello,

i have a problem to get actuator to work
request:

ivan at ubuntu:~$ curl -v --request POST --data-binary @command_pru.json
--header "content-type:application/json"
130.206.80.44:5371/m2m/v2/services/CampusofThings/devices/RGBS:A0:8E:B6:0004/command

response:

* About to connect() to 130.206.80.44 port 5371 (#0)
*   Trying 130.206.80.44...
* Connected to 130.206.80.44 (130.206.80.44) port 5371 (#0)
> POST /m2m/v2/services/CampusofThings/devices/RGBS:A0:8E:B6:0004/command HTTP/1.1
> User-Agent: curl/7.29.0
> Host: 130.206.80.44:5371
> Accept: */*
> content-type:application/json
> Content-Length: 168
>
* upload completely sent off: 168 out of 168 bytes
< HTTP/1.1 200 OK
< Server: Apache-Coyote/1.1
< Content-Type: application/json
< Transfer-Encoding: chunked
< Date: Fri, 06 Sep 2013 03:37:51 GMT
<
* Connection #0 to host 130.206.80.44 left intact
{"commandResultML":"<?xml version=\"1.0\" encoding=\"UTF-8\"
standalone=\"no\" ?>\n<paid:commandResponse
xmlns:paid=\"urn:ogc:def:dictionary:PAID:1.0:paid\"
id=\"114IDASSERVER3979ebbc-d829-4613-a24a-dfa07ca519be-8\"
xmlns:gml=\"http://www.opengis.net/gml\"
xmlns:om=\"http://www.opengis.net/om/1.0\"
xmlns:sml=\"http://www.opengis.net/sensorML/1.0.1\"
xmlns:sos=\"http://www.opengis.net/sos/1.0\"
xmlns:swe=\"http://www.opengis.net/swe/1.0.1\"
xmlns:xlink=\"http://www.w3.org/1999/xlink\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n\n
<paid:errorCommand code=\"2001\">instance document parsing
failed<\/paid:errorCommand>\n\n<\/paid:commandResponse>\n"}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: command_pru.json
Type: application/json
Size: 168 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20130905/abe73a79/attachment.json>


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