Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Fix Version/s: Sprint 4.1.2
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
HD-Chapter:IoT
-
HD-Enabler:EPCGE
Description
Hello,
im folowing the quick start tutorial : http://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Gateway_Data_Handling_-_Esper4FastData_-_User_and_Programmers_Guide#Resource_admin.2Fproxy
Step 1 and 2 go as expected.
On Step 3/4 i get an error on when executing test step on SoapUI :
Response :
<registerContextResponse>
<registrationId/>
<errorCode>
<code>400</code>
<reasonPhrase>Bad Request</reasonPhrase>
<details>"timestamp" is a reserved keyword. Its type must be "dateTime".</details>
</errorCode>
</registerContextResponse>
Ok so we see that the exemple are using a name that is a reserved keyword. I changed the name in the test to timestamped and i get this error:
<registerContextResponse>
<registrationId/>
<errorCode>
<code>400</code>
<reasonPhrase>Bad Request</reasonPhrase>
<details>Wrong timestamp format.
The requested format is extended iso8601 that conforms the "yyyy-MM-ddTHH:mm:ss.SSSZ" pattern.
Valid timestamp example: 2014-05-16T15:23:12.234+02:00</details>
</errorCode>
</registerContextResponse>
This is the Step 4 :
<?xml version="1.0" encoding="UTF-8"?>
<registerContextRequest>
<contextRegistrationList>
<contextRegistration>
<entityIdList>
<entityId type="ParcelMonitoring" isPattern="false">
<id>Parcel0</id>
</entityId>
</entityIdList>
<contextRegistrationAttributeList>
<contextRegistrationAttribute>
<name>vehicleId</name>
<type>xs:string</type>
<isDomain>false</isDomain>
</contextRegistrationAttribute>
<contextRegistrationAttribute>
<name>deliveryStep</name>
<type>xs:string</type>
<isDomain>false</isDomain>
</contextRegistrationAttribute>
</contextRegistrationAttributeList>
<registrationMetadata>
<contextMetadata>
<name>timestamped</name>
<type>xs:dateTime</type>
<value></value>
</contextMetadata>
</registrationMetadata>
<providingApplication>http://localhost/EspR4FastData-3.3.3</providingApplication>
</contextRegistration>
</contextRegistrationList>
<duration>P5D</duration>
<registrationId/>
</registerContextRequest>
My info :
OS
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
TOMCAT SERVER
Using CATALINA_BASE: /usr/share/tomcat7
Using CATALINA_HOME: /usr/share/tomcat7
Using CATALINA_TMPDIR: /usr/share/tomcat7/temp
Using JRE_HOME: /usr
Using CLASSPATH: /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar
Server version: Apache Tomcat/7.0.52 (Ubuntu)
Server built: Jul 24 2014 08:38:51
Server number: 7.0.52.0
OS Name: Linux
OS Version: 3.13.0-39-generic
Architecture: i386
JVM Version: 1.7.0_65-b32
JVM Vendor: Oracle Corporation
_____________________________
Abbas AHMAD
Ingènieur Informatique - Génie Logiciel
FEMTO-ST - Université de Franche-Comté
abbas.ahmad@edu.univ-fcomte.fr
+33 (0)6.47.56.85.94
_______________________________________________
Fiware-tech-help mailing list
Fiware-tech-help@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-tech-help
Hello Again,
I am finally happy to say that it works as expected.
But please update the Documentation. It says that the sanity check and Soapui are configured to work on port 80. But in this last build it works on port 8080.
This is the link to the documentation :
http://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Gateway_Data_Handling_-_Esper4FastData_-_Installation_and_Administration_Guide
Best regards.