Baker, Brad (Contr) wrote:
> Hi all,
>
>
>
> I have an endpoint that implements ServiceLifecycle and in the init my
> context object is a MessageContext. How do I get a SOAPMessageContext?
>
JAXWS doesn't have ServiceLifecycle and WebServiceContext is injected
into the endpoint. The endpoint has access only to MessageContext but
not to SOAPMessasgeContext.
I think you are talking about JAXRPC. In that case, just cast
MessageContext to SOAPMessageContext.
Jitu
>
>
> Thanks,
>
> Brad
>