本文整理了Java中org.codehaus.enunciate.contract.jaxws.WebFault.findExplicitFaultBean()
方法的一些代码示例,展示了WebFault.findExplicitFaultBean()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebFault.findExplicitFaultBean()
方法的具体详情如下:
包路径:org.codehaus.enunciate.contract.jaxws.WebFault
类名称:WebFault
方法名:findExplicitFaultBean
[英]A web fault has an explicit fault bean if all three of the following are present:
代码示例来源:origin: org.codehaus.enunciate/enunciate-core
/**
* The qname reference to the fault info.
*
* @return The qname reference to the fault info.
*/
public QName getParticleQName() {
ElementDeclaration faultBean = findExplicitFaultBean();
if (faultBean != null) {
return new QName(faultBean.getNamespace(), faultBean.getName());
}
else {
return new QName(getTargetNamespace(), getElementName());
}
}
代码示例来源:origin: org.codehaus.enunciate/enunciate-xfire-client
ElementDeclaration explicitFaultBean = webFault.findExplicitFaultBean();
String faultElementName = explicitFaultBean == null ? webFault.getElementName() : explicitFaultBean.getName();
String faultElementNamespace = explicitFaultBean == null ? webFault.getTargetNamespace() : explicitFaultBean.getNamespace();
内容来源于网络,如有侵权,请联系作者删除!