How to listen to a web service for a message receive.  
Author Message
Sailu





PostPosted: Architecture General, How to listen to a web service for a message receive. Top

Is it possible to listen to a webservice (WS) when a message is received by the WS.

Thanks,

Sailu




Architecture3  
 
 
Peter Ritchie





PostPosted: Architecture General, How to listen to a web service for a message receive. Top

The web service processes "messages" by default. Could you be more specific with your question

 
 
Sarit Kommineni





PostPosted: Architecture General, How to listen to a web service for a message receive. Top

The webservice by default processes all messages it receives. Are you looking to store all the messages received and process them separately It would not be requried if that is what you are looking at.

Can you describe what you are trying to accomplish



 
 
Clemens Reijnen





PostPosted: Architecture General, How to listen to a web service for a message receive. Top

when you just want to debug or look at the message when it arrves at the services. you can look at mindreef.

 
 
Udi Dahan





PostPosted: Architecture General, How to listen to a web service for a message receive. Top

Consider the case where you have two independent objects that need to process the same message, but neither should know about the other's existence, because they could be independently deployed.

Current WS implementations and tools do a lousy job of supporting loosely-coupled service design.



 
 
Arnon Rotem Gal Oz





PostPosted: Architecture General, How to listen to a web service for a message receive. Top

One thing you can do is implement an ISAPI filter to intercept the calls

another option is to implement a gateway so that a front web-service will get called and it would dispatch the call to the intended webservice and to whatever other listener you want

Arnon



 
 
James Mac





PostPosted: Architecture General, How to listen to a web service for a message receive. Top

You can implement a SoapExtension.

SoapExtensions allow you to intercept a web service call on teh way in or the way out (in fact they work on both the client and the server).

They are very useful for processing a service content irrespective of teh actual implementation. For example you could use them to log all messages to a database, or to perform schema validation on a message content.