Anyone know something about SOAP and web services?
I have a project (not DROD or Caravel-related, in case it matters to you) where I need to serve an API with some SOAP objects from an
intranet server using HTTP as the transport. The project is somewhat complicated by the fact that I'm only allowed to use SOAP for the API. The whole point of making the API with SOAP is so that it's easily usable in other companies that have different platforms and programming languages around.
I want to write a SOAP service that will notify the SOAP client when certain events occur. I think my options go like this:
* Write a polling method to check for and receive events. To improve on the poor efficiency of this approach, write the method to wait a long period of time, i.e. several minutes, without receiving an event before returning.
* Require the client-side developer to open a host socket that will receive events or at least notification of events from the SOAP server. In this case, the protocol used has nothing to do with SOAP.
Both approaches are pretty bad. Polling is inefficient and leads to poor performance. And tacking on an extra communication protocol will make my API harder to understand and use.
Any other options? I'm hoping there's some aspect of SOAP or some widely-used extension that solves the event-notification problem.
-Erik
____________________________
The Godkiller - Chapter 1 available now on Steam. It's a DROD-like puzzle adventure game.
dev journals |
twitch stream |
youtube archive (NSFW)