本文整理了Java中javax.xml.soap.SOAPElement.getTagName()
方法的一些代码示例,展示了SOAPElement.getTagName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SOAPElement.getTagName()
方法的具体详情如下:
包路径:javax.xml.soap.SOAPElement
类名称:SOAPElement
方法名:getTagName
暂无
代码示例来源:origin: com.hynnet/xws-security
public String getTagName() {
return delegateElement.getTagName();
}
代码示例来源:origin: com.hynnet/xws-security
public String getTagName() {
return delegateElement.getTagName();
}
代码示例来源:origin: com.hynnet/xws-security
public String getTagName() {
return delegateHeader.getTagName();
}
代码示例来源:origin: com.hynnet/xws-security
public String getTagName() {
return delegateElement.getTagName();
}
代码示例来源:origin: com.hynnet/xws-security
public X509SecurityToken(SOAPElement tokenElement, boolean isBSP)
throws XWSSecurityException {
super(tokenElement, isBSP);
if (!(tokenElement.getLocalName().equals(
MessageConstants.WSSE_BINARY_SECURITY_TOKEN_LNAME) &&
XMLUtil.inWsseNS(tokenElement))) {
log.log(Level.SEVERE, "WSS0391.error.creating.X509SecurityToken", tokenElement.getTagName());
throw new XWSSecurityException(
"BinarySecurityToken expected, found " +
tokenElement.getTagName());
}
}
代码示例来源:origin: com.hynnet/xws-security
/**
* @throws XWSSecurityException
* If the given element does not have an appropriate name.
*/
public ReferenceListHeaderBlock(SOAPElement element)
throws XWSSecurityException {
super(element);
if (!(element.getLocalName().equals("ReferenceList") &&
XMLUtil.inEncryptionNS(element))) {
log.log(Level.SEVERE, "WSS0362.error.creating.rlhb", element.getTagName());
throw new XWSSecurityException("Invalid ReferenceList passed");
}
ownerDoc = element.getOwnerDocument();
size =
element.getElementsByTagNameNS(MessageConstants.XENC_NS, "DataReference").getLength();
}
代码示例来源:origin: com.hynnet/xws-security
/**
* @throws XWSSecurityException
* If there is problem in initializing EncryptedData element.
*/
public EncryptedDataHeaderBlock(SOAPElement element)
throws XWSSecurityException {
setSOAPElement(element);
if (!(element.getLocalName().equals(
MessageConstants.ENCRYPTED_DATA_LNAME) &&
XMLUtil.inEncryptionNS(element))) {
log.log(Level.SEVERE, "WSS0346.error.creating.edhb", element.getTagName());
throw new XWSSecurityException("Invalid EncryptedData passed");
}
initializeEncryptedType(element);
}
代码示例来源:origin: com.optimaize.anythingworks.client.soap/anythingworks-client-soap
String tagName = entry.getTagName();
Node node = entry.getFirstChild();
if (tagName.equalsIgnoreCase("faultCause")) {
代码示例来源:origin: com.optimaize.soapworks.client/soapworks-client
String tagName = entry.getTagName();
Node node = entry.getFirstChild();
if (tagName.equalsIgnoreCase("blame")) {
代码示例来源:origin: com.hynnet/xws-security
XWSSecurityException xwsse =
new XWSSecurityException(
element.getTagName() +
" key reference type is not supported");
throw SecurableSoapMessage.newSOAPFaultException(
代码示例来源:origin: com.hynnet/xws-security
MessageConstants.XENC_ENCRYPTED_KEY_LNAME) &&
XMLUtil.inEncryptionNS(element))) {
log.log(Level.SEVERE, "WSS0349.error.creating.ekhb", element.getTagName());
throw new XWSSecurityException("Invalid EncryptedKey passed");
代码示例来源:origin: com.hynnet/xws-security
log.log(Level.SEVERE, "WSS0379.error.creating.str", element.getTagName());
throw new XWSSecurityException("Invalid tokenRef passed");
代码示例来源:origin: com.hynnet/xws-security
log.log(Level.SEVERE, "WSS0385.error.creating.timestamp", element.getTagName());
throw new XWSSecurityException("Invalid timestamp element passed");
内容来源于网络,如有侵权,请联系作者删除!