[Fiware-robotics] Demo web page + RCM demo

Colombatto Davide davide.colombatto at telecomitalia.it
Thu Jan 29 10:30:04 CET 2015


Hi Inigo and all,

I re-attach the document sent by Angel yesterday.

If the arch in the document is used there would be no cross-domain problems for connection 4:
the web-app should work as "intermediate" between the browser and the RCM and NOT the browser contacts directly the RCM with Javascript/AJAX.


Use case:
- Browser contacts your web-app for the page with the 3 buttons
- When the user click on START and STOP, the browser contacts (with Javascript/AJAX) your web-app and the web-app performs this contacting RCM itself.
- When your web-app obtains the XML response by RCM, the web-app responses to the browser

I think this use case does not create cross domain on your side (no cross-domain Server2Server connection).


Davide


________________________________________
Da: Iñigo Gonzalez [igonzalez at ikergune.com]
Inviato: giovedì 29 gennaio 2015 9.54
A: fiware-robotics at lists.fi-ware.org
Cc: Colombatto Davide
Oggetto: Demo web page + RCM demo

Hello Davide et al,

Please note that I am moving this conversation to the robotics list so we do not overload everyone's inbox.
I have just added to the demo webpage the urls sent by Daide. I have tried to launch the start command and found this issue:

"XMLHttpRequest cannot load http://188.15.109.226:8088/platform/?command=SL&sc_host=localhost&sc_port=11312&package=turtlesim&name=monosim&_=1422520888499. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access."

This issue is related to what Angel said in his mail yesterday. When calling to a REST service from a web page the cross origin security policy appears. So your api must add support to cross origin to allow the web page to connect to it.

Please let us know when this is fixed so we can give it another try.

Regards,
Iñigo

Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.

This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Demo_FIROS_RCM_arch_2.pptx
Type: application/vnd.openxmlformats-officedocument.presentationml.presentation
Size: 82434 bytes
Desc: Demo_FIROS_RCM_arch_2.pptx
URL: <https://lists.fiware.org/private/fiware-robotics/attachments/20150129/a27398a6/attachment.pptx>


More information about the Fiware-robotics mailing list

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