Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-1405

FIWARE.Request.Tech.IoT.EPCGE.ErrorSoapUI

    Details

    • 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

        Activity

        Hide
        abbas.ahmad Abbas Ahmad added a comment -

        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.

        Show
        abbas.ahmad Abbas Ahmad added a comment - 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.
        Hide
        artusio Laurent ARTUSIO (Inactive) added a comment -

        Your message is cristal clear

        I just made a mistake and uploaded a wrong version.

        Give it a try again, sorry for the inconvenience

        Show
        artusio Laurent ARTUSIO (Inactive) added a comment - Your message is cristal clear I just made a mistake and uploaded a wrong version. Give it a try again, sorry for the inconvenience
        Hide
        abbas.ahmad Abbas Ahmad added a comment -

        Hello Laurent,

        I downloaded the new version of the EspR4FastData-3.3.3 (download name : EspR4FastData-3.3.3-build-20141125.zip ) .

        I Still have the same problems. Sanity check passes as well as the step 1 and 2 of the soapui Quickstart test steps but after that i get the timestamp 400 error for step 3 and 4.

        To be really sure that this is an issue with EspR4FastData-3.3.3, i downloaded the EspR4FastData 4.4.1 and this version runs well (With tomcat On port 8080 / Port 80 is for EspR4FastData-3.3.3).

        If this message was not very clear please inform me how i can help to make clearer.

        Show
        abbas.ahmad Abbas Ahmad added a comment - Hello Laurent, I downloaded the new version of the EspR4FastData-3.3.3 (download name : EspR4FastData-3.3.3-build-20141125.zip ) . I Still have the same problems. Sanity check passes as well as the step 1 and 2 of the soapui Quickstart test steps but after that i get the timestamp 400 error for step 3 and 4. To be really sure that this is an issue with EspR4FastData-3.3.3, i downloaded the EspR4FastData 4.4.1 and this version runs well (With tomcat On port 8080 / Port 80 is for EspR4FastData-3.3.3). If this message was not very clear please inform me how i can help to make clearer.
        Hide
        artusio Laurent ARTUSIO (Inactive) added a comment -

        Updated the documentation, the code and the test case.

        Please download the software again

        BR,

        Laurent

        Show
        artusio Laurent ARTUSIO (Inactive) added a comment - Updated the documentation, the code and the test case. Please download the software again BR, Laurent

          People

          • Assignee:
            artusio Laurent ARTUSIO (Inactive)
            Reporter:
            abbas.ahmad Abbas Ahmad
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: