Try implementing the Service interface (forget the whole package), but
that worked for me. 

Roshan Punnoose
Phone: 301-497-6039

-----Original Message-----
From: Angel Todorov [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 01, 2007 1:56 PM
To: [email protected]
Subject: Re: setOperationContext on service

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]

BEGIN:VCARD
VERSION:2.1
N:Punnoose;Roshan
FN:Punnoose, Roshan
ADR;WORK:;2115
LABEL;WORK:2115
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20050413T183207Z
END:VCARD
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to