我有拦截器
public class MyInValidatingInterceptor extends AbstractPhaseInterceptor<Message> {
//in constructor
super(Phase.USER_LOGICAL);
...
@Override
public void handleMessage(Message message) throws Fault {
List body = message.getContent(List.class);//get body
Object o = body.get(0);//get first chield
如何将第一收益率转换为javax.xml.transform.Source
?
P.S如何使用Message
方法从handleMessage
正确获取身体和第一位躯体?
我尝试了public void handleMessage(SoapMessage soapMessage)
但SOAPMessage message = soapMessage.getContent(SOAPMessage.class);
总是NULL