Hi George, You can probably implement a custom message receiver that extends any of the default ones, and inject any object in your service implementation. In this way you basically gain control over the lifecycle of the business logic.
Regards, Angel On 2/1/07, George Stanchev <[EMAIL PROTECTED]> wrote:
Hi, How can I get a hold of message context within a service? There are several places on the web that show that if the service implements a void setOprationContext(OperationContext) method, it will get called prior to the operation method. However I have not been successful in getting this method called. Several of the unit tests use void init(MessageContext) But this is not called either. Is there any other way to get a hold of the message context? I have tried the RawXMLInOutMessageReceiver and the RPCMessageReceiver. Has the method signature changed? Has it been removed? Thanks in advance! George ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]