[Fiware-tech-help] Espr4fastData 3.3.3 error

abbas ahmad abbas.ahmad at edu.univ-fcomte.fr
Tue Nov 18 16:24:19 CET 2014


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 : 
{quote} 

<registerContextResponse> 
<registrationId/> 
<errorCode> 
<code>400</code> 
<reasonPhrase>Bad Request</reasonPhrase> 
<details>"timestamp" is a reserved keyword. Its type must be "dateTime".</details> 
</errorCode> 
</registerContextResponse> 

{quote} 




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: 

{quote} 

<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> 

{quote} 

This is the Step 4 : 

{quote} 

<?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> 

{quote} 




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 at edu.univ-fcomte.fr 
+33 (0)6.47.56.85.94 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20141118/402716ac/attachment.html>


More information about the Fiware-tech-help mailing list

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