[wsf-c-dev] Re: WS-eventing EventSink questions
Paul Fremantle
paul at wso2.com
Thu May 17 00:36:40 PDT 2007
Benjamin
Basically the event sink is a service. So the way you would go about
implementing this is the standard way you implement a service in gSOAP.
I know this seems backwards - you usually implement a subscriber as a
client, not as the server, but in this case the subscriber is the target
of a SOAP call - in other words the server-side.
The OnStormWarning is a service endpoint. Many SOAP servers offer the
ability to host multiple services on a single host:port. They do this by
using the HTTP /blah/service part to distinguish between endpoints.
The RelpyTo stuff is part of the WS-Addressing spec. Its a prereq for
WS-Eventing. I don't know if gSOAP implements WS-Addressing, but if you
want a toolkit that does, you can try Axis2/C and WSF/C:
http://ws.apache.org/axis2/c/
http://dist.wso2.org/products/wsf/c/
WSF/C is a package of Axis2/C plus support for WS-Security and WS-RM.
Paul
Benjamin Jacob wrote:
> Hello good ppl,
> Was google-ing around for info on WS-Eventing and was led to your
> discussion on the Wsf-c-dev mailing list.
> Hope you guys dont mind me shooting a mail to you, out of nowhere.
> _ <http://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev>_
> We are trying to implement a WS-Eventing setup. The Event Source and the
> Subscription Manager are some third-party software. That end is all
> working.
> What we have to build is the Event Sink.
> So a few questions regarding this:
> [1] Post subscription by an Event Sink, with the EndTo set to, say
> "192.168.10.44:33333", do we have to listen(create a socket and accept
> messages) on port 33333 on 192.168.10.44?
> If yes, how do we go about parsing an HTTP message. We are using
> gSOAP as our SOAP stack. What will be the SOAP call to receive messages
> on this port 33333?
> [2] Also, in many examples I see the EndTo set to something like this :
> "192.168.10.44:33/OnStormWarning".
> What is this OnStormWarning????
> [3] In the WS-Eventing xsd, file, in the Subscribe request, I don't see
> any ReplyTo or NotifyTo tags, but, the WS-Eventing specification, in
> every subscription request, I see ReplyTo and NotifyTo lines. How's this
> done?
>
> I am sure, these must be very elementary questions, but then, I have
> just started playschool, when it comes to WS-Eventing. And I have
> exactly one day to graduate!!
>
> All help needed, and every bit of it appreciated.
>
> Also, please do a CC to benjamin.jacob at mgl.com as well.
>
> Thanks
> - Benjamin Jacob.
>
More information about the Wsf-c-dev
mailing list