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

FIWARE.Request.Lab.Java and fiware.

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-LAB-HELP
    • Labels:
      None

      Description

      Hi Fiware,

      I'm building a Java application to store data in the Fiware Cloud.

      Request via Advanced REST client
      When I make a request then everything is OK, no problems with 401 unauthorized, I get a JSON file back with the access-token and I can use the token for the next request.

      Request via Java
      When I add authentication to my request, I always get a http code 401 unauthorized.
      I have tried different ways to add authentication to the request but with no results, always a 401 unauthorized.

      The java application does basically the same as the Phyton script.
      Source Phyton script: https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide

      My questions:
      Is it possible with a Java application to store data into the Fiware Cloud, is Java supported or are there some bugs?
      Are there any examples codes from Java to store object in the cloud that are working?

      With best regards,
      Vriendelijke groeten,
      Igor Ivanisevic

      nederdesign.nl
      Zuidstraat 14
      4551 BL Sas van Gent

      Postbus 29
      4550 AA Sas van Gent

      0115 - 69 19 85 | welkom@nederdesign.nl<welkom@nederdesign.nl> | www.nederdesign.nl<http://www.nederdesign.nl/>

      Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
      Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-lab-help
      [Created via e-mail received from: "Nederdesign.nl" <welkom@nederdesign.nl>]

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        44m 13s 1 Budapest Node Helpdesk 31/Aug/16 10:00 AM
        In Progress In Progress Answered Answered
        58m 54s 1 Alvaro Alonso 31/Aug/16 10:59 AM
        Answered Answered Closed Closed
        1s 1 Alvaro Alonso 31/Aug/16 10:59 AM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        backlogmanager Backlog Manager made changes -
        Summary [Fiware-lab-help] Java and fiware FIWARE.Request.Lab.Java and fiware.
        HD-Enabler Unknown [ 10910 ]
        HD-Node Unknown [ 10852 ]
        aalonsog Alvaro Alonso made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        aalonsog Alvaro Alonso made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        Hide
        aalonsog Alvaro Alonso added a comment -

        Hi Igor,

        if it is working with the REST Client it should also work with any other client. Check that you are sending the same request in both cases.

        BR

        Show
        aalonsog Alvaro Alonso added a comment - Hi Igor, if it is working with the REST Client it should also work with any other client. Check that you are sending the same request in both cases. BR
        WIGNER Budapest Node Helpdesk made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        WIGNER Budapest Node Helpdesk added a comment -

        The issue has been emailed:

        • Time sent: 31/Aug/16 10:00 AM
        • To: welkom@nederdesign.nl
        • with subject: *(HELP-7178) [Fiware-lab-help] Java and fiware *

        Dear Igor,

        I forwarded your question to an authorization expert. He will write to you soon.

        Best Regards,
        Gergő

        Show
        WIGNER Budapest Node Helpdesk added a comment - The issue has been emailed: Time sent: 31/Aug/16 10:00 AM To: welkom@nederdesign.nl with subject: *( HELP-7178 ) [Fiware-lab-help] Java and fiware * Dear Igor, I forwarded your question to an authorization expert. He will write to you soon. Best Regards, Gergő
        WIGNER Budapest Node Helpdesk made changes -
        Assignee Alvaro Alonso [ aalonsog ]
        backlogmanager Backlog Manager made changes -
        HD-Enabler Unknown [ 10910 ]
        HD-Node Unknown [ 10852 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-LAB-HELP [ 10279 ]
        fw.ext.user FW External User created issue -

          People

          • Assignee:
            aalonsog Alvaro Alonso
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: