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