Hi
I'm new to the group, tried searching archives, but unfortunately with no
luck.
I'm working on the handler implementing XACML policy decision point, which
is invoked before, and after service invocation.
Issue I'm trying to solve is to access the message context of the request in
the outflow basically to compare data returned from the service to data in
request. I tried following snippet:

        OperationContext operation = msgContext.getOperationContext();
        HashMap msgcontexts = operation.getMessageContexts();
        Collection msgcontextscollection = msgcontexts.values();
        MessageContext tmp;
        for (Iterator it = msgcontextscollection.iterator(); it.hasNext();){
            tmp = (MessageContext)it.next();
            log.info(tmp.getEnvelope().toString());
        }

unfortunately method causes NULL exception.
so here I have to questions:
- is it possible to access request messageContext in outflow
- how to do that ?
thanks
Jan

Reply via email to