Hi,
If you have
@Resource
private WebServiceContext wsContext;
then you can
MessageContext mc = wsContext.getMessageContext();
Freeman
On 2012-4-24, at 下午11:26, desjava wrote:
how to recover MessageContext ?
MessageContext mc = ???????????????????
SOAPMessageContext smc = (SOAPMessageContext) mc;
SOAPMessage msg = smc.getMessage();
String value = msg.getSOAPPart().getEnvelope().toString();
--
View this message in context:
http://cxf.547215.n5.nabble.com/MessageContext-tp5662386p5662386.html
Sent from the cxf-user mailing list archive at Nabble.com.
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042