Custom Query (83 matches)
Results (22 - 24 of 83)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #60 | fixed | Subscription to event sources fails | elmex | su009 |
| description |
In rev216, there seems to be a bug in subscribing to event sources (same client- / server-code works fine for rev191). Output: own Client: ./mhu_TachoEvent_client -i $theIP -d $theDEVICE TemperatureEvent_client: Set interface to "192.168.101.20" TemperatureEvent_client: Set device address to "urn:uuid:cb6ed50e-4e59-4fc4-ac9f-fc3d43a0e0ee" TachoEventListener: Device urn:uuid:cb6ed50e-4e59-4fc4-ac9f-fc3d43a0e0ee found at addr http://192.168.101.20:51468/cb6ed50e-4e59-4fc4-ac9f-fc3d43a0e0ee TachoEventListener: Device offers CarDataService at http://192.168.101.20:58687/CarDataService (/home/cht/dls/ws4d-gSOAP-head/src/libdpws/ws4d_subscription.c:201) assertion failed: (list && id && (ws4d_subslist_getsubs (list, id) != NULL) && alist) (/home/cht/dls/ws4d-gSOAP-head/src/libdpws/ws4d_subscription.c:98) assertion failed: (subs) (/home/cht/dls/ws4d-gSOAP-head/src/libdpws/ws4d_subscription.c:87) assertion failed: (subs && subsm) (/home/cht/dls/ws4d-gSOAP-head/src/libdpws/ws4d_subscription.c:109) assertion failed: (subs) TachoEventListener: Subscribe to SpeedEvents@CarDataService ... cht@cht-laptop:~/workspace/usecase-build/bin$ own device: cht@cht-laptop:~/workspace/usecase-build/bin$ ./mhu_myheadunit -i $theIP -u $theDEVICE Interface set to 192.168.101.20 UUID set to urn:uuid:cb6ed50e-4e59-4fc4-ac9f-fc3d43a0e0ee dpws_init... mhu_setup_HostingService... mhu_setup_RemoteKeyboard... My Headunit: ready to serve... (Ctrl-C for shut down) Entering working loop. Somehow triggering events now... [...] Sending Event to http://192.168.101.20:47335/ SOAP 1.2 fault: SOAP-ENV:Sender [no subcode] "Connection refused" Detail: connect failed in tcp_connect() Sending Event to http://192.168.101.20:47335/ SOAP 1.2 fault: SOAP-ENV:Sender [no subcode] "Connection refused" Detail: connect failed in tcp_connect() Sending Event to http://192.168.101.20:47335/ SOAP 1.2 fault: SOAP-ENV:Sender [no subcode] "Connection refused" Detail: connect failed in tcp_connect() Sending Event to http://192.168.101.20:47335/ SOAP 1.2 fault: SOAP-ENV:Sender [no subcode] "Connection refused" Detail: connect failed in tcp_connect() ^CShutting downThat's all, folks. Leaving working loop now... cht@cht-laptop:~/workspace/usecase-build/bin$ example client: cht@cht-laptop:~/dls/aircon-rev216-build/bin$ ./acs_TemperatureEvent_client -i $theIP -d $theDEVICE
TemperatureEvent_client: Set interface to "192.168.101.20"
TemperatureEvent_client: Set device address to "urn:uuid:cb6ed50e-4e59-4fc4-ac9f-fc3d43a0e0ee"
TemperatureEventListener: Device urn:uuid:cb6ed50e-4e59-4fc4-ac9f-fc3d43a0e0ee found at addr http://192.168.101.20:35359/cb6ed50e-4e59-4fc4-ac9f-fc3d43a0e0ee
(/home/cht/dls/ws4d-gSOAP-head/src/libdpws/ws4d_epr.c:313) assertion failed: (epr)
TemperatureEventListener: Device offers AirConditionerService at (null)
(/home/cht/dls/ws4d-gSOAP-head/src/libdpws/ws4d_epr.c:313) assertion failed: (epr)
(/home/cht/dls/ws4d-gSOAP-head/src/libdpws/gsoap/ws-addressing.c:727) assertion failed: (soap && MessageId && To && Action)
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdp="http://docs.oasis-open.org/ws-dd/ns/dpws/2009/01" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wse="http://schemas.xmlsoap.org/ws/2004/08/eventing">
<SOAP-ENV:Body>
<wse:Subscribe>
<wse:Delivery Mode="http://schemas.xmlsoap.org/ws/2004/08/eventing/DeliveryModes/Push">
<wse:NotifyTo>
<wsa:Address>http://192.168.101.20:44113/</wsa:Address>
</wse:NotifyTo>
</wse:Delivery>
<wse:Expires>P0Y0M0DT1H0M0S</wse:Expires>
<wse:Filter Dialect="http://docs.oasis-open.org/ws-dd/ns/dpws/2009/01/Action">http://www.ws4d.org/axis2/tutorial/AirConditioner/TemperatureEventOut</wse:Filter>
</wse:Subscribe>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>^C
cht@cht-laptop:~/dls/aircon-rev216-build/bin$
example device: nothing unusual |
|||
| #109 | fixed | Support custom tracers | elmex | elmex |
| description |
ws4d_assert(), ws4d_fail() and ws4d_warn() write to stderr by default. A mechanism to optionally add a custom trace function to this macros would be an enhancement :-) |
|||
| #19 | fixed | Ubuntu installation broken package names | elmex | anonymous |
| description |
Hello, On the page InstallationUbuntuLinux the line sudo apt-get install doxygen texlaive-latex-base texlive-fonts recommended texlive-latex-recommended should be sudo apt-get install doxygen texlive-latex-base texlive-fonts-recommended texlive-latex-recommended I think. There is an "a" too much and a dash missing. Stephan PS: The "new ticket here" link on the start page in the lower right box (violet) is broken. Error message: Environment not found. In the link the ws4d-gsoap is missing. Since the pages are not editable I was not able to fix it. |
|||
