Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Data
-
HD-Enabler:Orion
Description
Created question in FIWARE Q/A platform on 23-10-2015 at 13:10
Please, ANSWER this question AT http://stackoverflow.com/questions/33300874/orion-contextbroker-notify-to-custom-webservice
Question:
Orion ContextBroker: Notify to Custom WebService
Description:
I'm trying to integrate Orion notification with a custom WebService, but I'm not able to get data in the WebService.
I have the subscription defined like I subscribed Cygnus, but with WebService url.
Orion's output:
DEBUG@10:34:04 httpRequestSend.cpp[299]: HTTP-HEADERS: 'User-Agent: orion/0.23.0 libcurl/7.19.7'
DEBUG@10:34:04 httpRequestSend.cpp[307]: HTTP-HEADERS: 'Host: xxxxxxxxxxxxx.es:8080'
DEBUG@10:34:04 httpRequestSend.cpp[351]: HTTP-HEADERS: 'Content-length: 3277'
DEBUG@10:34:04 httpRequestSend.cpp[419]: Sending message 174 to HTTP server: sending message of 3518 bytes to HTTP server
INFO@10:34:04 httpRequestSend.cpp[434]: Notification Successfully Sent to xxxxxxxxxxxxx:8080/PruebasREST/webresources/service
INFO@10:34:04 httpRequestSend.cpp[445]: Transaction ended
If I do a json POST curl in a console, the WebService is working as expected, but when Orion sends notification there is no response from the WebService.
Does anyone imagine what is happening?
Thanks
2015-10-23 15:05|CREATED monitor | # answers= 0, accepted answer= False