You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by Vyacheslav Zhakov <zh...@genesyslab.com> on 2002/04/17 07:19:59 UTC
Unsolicited SOAP responses
Hi,
In some applications it is important to be able to receive unsolicited notifications. Typical example is a device monitoring. Constant polling might be too expensive. C# provides ways to process this. Is there any way to resolve this with apache SOAP toolkit?
Thanks,
Slava.
Re: Unsolicited SOAP responses
Posted by Scott Nichol <sc...@yahoo.com>.
To me, this sounds like a server that receives messages (versus RPC). I would create a service that
uses the MsgJavaProvider (rather than the RPCJavaProvider), assuming there is not supposed to be a
response from the service (such as to acknowledge receipt of the notification).
Basically, to receive responses to a specific request, one uses the Apache SOAP client classes, in
particular Call. To receive messages that are not responses to a request, one creates a service
that runs in the context of the Web (servlet) container.
Scott Nichol
----- Original Message -----
From: "Vyacheslav Zhakov" <zh...@genesyslab.com>
To: <so...@xml.apache.org>
Sent: Wednesday, April 17, 2002 01:19
Subject: Unsolicited SOAP responses
Hi,
In some applications it is important to be able to receive unsolicited notifications. Typical
example is a device monitoring. Constant polling might be too expensive. C# provides ways to process
this. Is there any way to resolve this with apache SOAP toolkit?
Thanks,
Slava.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Re: Unsolicited SOAP responses
Posted by Scott Nichol <sc...@yahoo.com>.
To me, this sounds like a server that receives messages (versus RPC). I would create a service that
uses the MsgJavaProvider (rather than the RPCJavaProvider), assuming there is not supposed to be a
response from the service (such as to acknowledge receipt of the notification).
Basically, to receive responses to a specific request, one uses the Apache SOAP client classes, in
particular Call. To receive messages that are not responses to a request, one creates a service
that runs in the context of the Web (servlet) container.
Scott Nichol
----- Original Message -----
From: "Vyacheslav Zhakov" <zh...@genesyslab.com>
To: <so...@xml.apache.org>
Sent: Wednesday, April 17, 2002 01:19
Subject: Unsolicited SOAP responses
Hi,
In some applications it is important to be able to receive unsolicited notifications. Typical
example is a device monitoring. Constant polling might be too expensive. C# provides ways to process
this. Is there any way to resolve this with apache SOAP toolkit?
Thanks,
Slava.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com