When I compile the example from the original code (from ws4d-
gsoap-0.8.src). I can receive the eventing (using DPWS Explorer).
However, when I followed the airconditioner tutorial, I can't receive
the eventing data (using DPWS Explorer).
The device (airconditioner) seems to send out an event, but the DPWS
Explorer prints out an error "[ERROR] Missing required element
http://www.w3.org/2003/05/soap-envelope:Header"
There was one time I managed to capture the raw message & made a
comparison between "my airconditioner" and "the original
airconditioner". It seems that there's a missing <wse:Identifier> in
my airconditioner.
Is there any additional step that I need to do to solve this problem?
Thanks.
It's not stated in the airconditioner tutorial.
In the original code, that function is used by void deliver_event.
On Dec 1, 3:47 pm, Peter <ming...@gmail.com> wrote:
> Hi,
>
> When I compile the example from the original code (from ws4d-
> gsoap-0.8.src). I can receive the eventing (using DPWS Explorer).
>
> However, when I followed the airconditioner tutorial, I can't receive
> the eventing data (using DPWS Explorer).
> The device (airconditioner) seems to send out an event, but the DPWS
> Explorer prints out an error "[ERROR] Missing required elementhttp://www.w3.org/2003/05/soap-envelope:Header"
Sorry for my late response. The wse:Identifier is missing in the
tutorial. I have update the tutorial.
Regards,
Elmar