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

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

          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: