本文整理了Java中javax.xml.soap.SOAPElement.removeChild()
方法的一些代码示例,展示了SOAPElement.removeChild()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SOAPElement.removeChild()
方法的具体详情如下:
包路径:javax.xml.soap.SOAPElement
类名称:SOAPElement
方法名:removeChild
暂无
代码示例来源:origin: com.hynnet/xws-security
public Node removeChild(Node arg0) throws DOMException {
return delegateHeader.removeChild(arg0);
}
代码示例来源:origin: com.hynnet/xws-security
public Node removeChild(Node arg0) throws DOMException {
return delegateElement.removeChild(arg0);
}
代码示例来源:origin: com.hynnet/xws-security
public Node removeChild(Node oldChild) throws DOMException {
return delegateElement.removeChild(oldChild);
}
代码示例来源:origin: com.hynnet/xws-security
public Node removeChild(Node arg0) throws DOMException {
return delegateElement.removeChild(arg0);
}
代码示例来源:origin: fcrepo3/fcrepo
/**
* Sets the return object for a response as the param.
*
* @param context
* the message context
* @param newResponse
* the object to set as the return object
* @throws SoapFault
*/
protected void setSOAPResponseObject(SOAPMessageContext context,
Object newResponse) {
if (newResponse == null) {
return;
}
// Extract the SOAP Message
SOAPMessage message = context.getMessage();
// Get the envelope body
SOAPElement body;
try {
body = message.getSOAPBody();
SOAPElement response = getSOAPResponseNode(context);
body.removeChild(response);
marshall(newResponse, body);
} catch (SOAPException e) {
logger.error("Problem changing SOAP message contents", e);
throw CXFUtility.getFault(e);
}
}
内容来源于网络,如有侵权,请联系作者删除!