Hi All,
I am trying to write an mediator that needs access to the underlying
body of the request (in order to verify message authenticity using a
header). I can get the header like this:
public boolean mediate(MessageContext synCtx) {
org.apache.axis2.context.MessageContext mc = ((Axis2MessageContext)
synCtx)
.getAxis2MessageContext();
Map headers = (Map) mc
.getProperty(org.apache.axis2.context.MessageContext.TRANSPORT_HEADERS);
String myHeader = (String) header.get("My-Digest-Header");
...
But I also need to get access to the body of the request (like I'd do
using request.getInputStream() in a servlet). Any ideas if it is
available and how I can get at it?
Thanks,
Garth