本文整理了Java中javax.xml.soap.SOAPHeader.addNotUnderstoodHeaderElement()
方法的一些代码示例,展示了SOAPHeader.addNotUnderstoodHeaderElement()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SOAPHeader.addNotUnderstoodHeaderElement()
方法的具体详情如下:
包路径:javax.xml.soap.SOAPHeader
类名称:SOAPHeader
方法名:addNotUnderstoodHeaderElement
[英]Creates a new NotUnderstood SOAPHeaderElement
object initialized with the specified name and adds it to this SOAPHeader
object. This operation is supported only by SOAP 1.2.
[中]创建一个新的NotUnderstandSOAPHeaderElement
对象,该对象使用指定的名称初始化,并将其添加到此SOAPHeader
对象。只有SOAP 1.2支持此操作。
代码示例来源:origin: org.springframework.ws/org.springframework.ws
@Override
public SOAPHeaderElement addNotUnderstoodHeaderElement(SOAPHeader header, QName name) throws SOAPException {
return header.addNotUnderstoodHeaderElement(name);
}
代码示例来源:origin: spring-projects/spring-ws
@Override
public SoapHeaderElement addNotUnderstoodHeaderElement(QName headerName) {
try {
SOAPHeaderElement headerElement =
getSaajHeader().addNotUnderstoodHeaderElement(headerName);
return new SaajSoapHeaderElement(headerElement);
}
catch (SOAPException ex) {
throw new SaajSoapHeaderException(ex);
}
}
代码示例来源:origin: org.springframework.ws/spring-ws-core
@Override
public SoapHeaderElement addNotUnderstoodHeaderElement(QName headerName) {
try {
SOAPHeaderElement headerElement =
getSaajHeader().addNotUnderstoodHeaderElement(headerName);
return new SaajSoapHeaderElement(headerElement);
}
catch (SOAPException ex) {
throw new SaajSoapHeaderException(ex);
}
}
代码示例来源:origin: apache/servicemix-bundles
@Override
public SoapHeaderElement addNotUnderstoodHeaderElement(QName headerName) {
try {
SOAPHeaderElement headerElement =
getSaajHeader().addNotUnderstoodHeaderElement(headerName);
return new SaajSoapHeaderElement(headerElement);
}
catch (SOAPException ex) {
throw new SaajSoapHeaderException(ex);
}
}
内容来源于网络,如有侵权,请联系作者删除!