javax.xml.soap.SOAPElement.removeAttributeNS()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(107)

本文整理了Java中javax.xml.soap.SOAPElement.removeAttributeNS()方法的一些代码示例,展示了SOAPElement.removeAttributeNS()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SOAPElement.removeAttributeNS()方法的具体详情如下:
包路径:javax.xml.soap.SOAPElement
类名称:SOAPElement
方法名:removeAttributeNS

SOAPElement.removeAttributeNS介绍

暂无

代码示例

代码示例来源:origin: com.hynnet/xws-security

public void removeAttributeNS(String arg0, String arg1)
  throws DOMException {
  delegateElement.removeAttributeNS(arg0, arg1);
}

代码示例来源:origin: com.hynnet/xws-security

public void removeAttributeNS(String arg0, String arg1)
throws DOMException {
  delegateHeader.removeAttributeNS(arg0, arg1);
}

代码示例来源:origin: com.hynnet/xws-security

public void removeAttributeNS(String arg0, String arg1)
  throws DOMException {
  delegateElement.removeAttributeNS(arg0, arg1);
}

代码示例来源:origin: com.hynnet/xws-security

public void removeAttributeNS(String namespaceURI, String localName) throws DOMException {
  delegateElement.removeAttributeNS(namespaceURI, localName);
}

代码示例来源:origin: org.jboss.ws.native/jbossws-native-core

/** Sets the fault string for this SOAPFault object to the given string.
*/
public void setFaultString(String faultString) throws SOAPException
{
 if (Constants.NS_SOAP11_ENV.equals(getNamespaceURI()))
 {
   setFaultStringInternal(faultString);
   faultstring.removeAttributeNS(Constants.NS_XML, "lang");
 }
 else addFaultReasonText(faultString, Locale.getDefault());
}

代码示例来源:origin: com.hynnet/xws-security

/**
 * Make Security Header Non-MustUnderstand
 */
public void resetMustUnderstandOnSecHeader() {
  try {
    findSecurityHeader();
    if (null != wsseSecurity) {
      wsseSecurity.removeAttributeNS(this.getEnvelope().getNamespaceURI(), "mustUnderstand");
    }
  } catch (XWSSecurityException e) {
    log.log(Level.SEVERE, "WSS0370.error.deleting.secheader", e.getMessage());
  }
}

相关文章

微信公众号

最新文章

更多