Hi there...
I am desperately trying to modify my response SOAP headers using Axis2.
I have managed to extract the headers from the inbound data, but I
cannot figure out how to get the outbound.
The messagecontext (out) doesn't have any envelope, and creating one by
hand doesn't result in anything...
MessageContext mc = MessageContext.getCurrentMessageContext();
OperationContext operationContext = mc.getOperationContext();
MessageContext outMessageContext =
operationContext.getMessageContext(WSDLConstants.MESSAGE_LABEL_OUT_VALUE);
Some sample of how to extract the data on the client side would be nice
as well, I'm using a wrapper client, but the WSDL does not contain
the SOAP header declerations.
BR
Thomas Vennström