本文整理了Java中org.codehaus.enunciate.contract.jaxws.WebFault.getTargetNamespace()
方法的一些代码示例,展示了WebFault.getTargetNamespace()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebFault.getTargetNamespace()
方法的具体详情如下:
包路径:org.codehaus.enunciate.contract.jaxws.WebFault
类名称:WebFault
方法名:getTargetNamespace
[英]Gets the target namespace of the implicit fault bean, or null if this web fault defines an explicit fault info bean.
[中]获取隐式错误bean的目标命名空间,如果此web错误定义了显式错误信息bean,则为null。
代码示例来源:origin: org.codehaus.enunciate/enunciate-core
public String getTargetNamespace() {
return webFault.getTargetNamespace();
}
代码示例来源:origin: org.codehaus.enunciate/enunciate-full
/**
* The qname reference to the fault info.
*
* @return The qname reference to the fault info.
*/
public QName getParticleQName() {
if (this.explicitFaultBean != null) {
return new QName(this.explicitFaultBean.getNamespace(), this.explicitFaultBean.getName());
}
else {
return new QName(getTargetNamespace(), getElementName());
}
}
代码示例来源: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-full
String faultElementNamespace = webFault.isImplicitSchemaElement() ? webFault.getTargetNamespace() : webFault.getExplicitFaultBean().getNamespace();
this.generatedAnnotations.fault2WebFault.put(faultClass, new WebFaultAnnotation(faultElementName, faultElementNamespace, faultBean, implicit));
代码示例来源:origin: org.codehaus.enunciate/enunciate-xfire-client
String faultElementNamespace = explicitFaultBean == null ? webFault.getTargetNamespace() : explicitFaultBean.getNamespace();
this.generatedAnnotations.fault2WebFault.put(faultClass, new WebFaultAnnotation(faultElementName, faultElementNamespace, faultBean, implicit));
内容来源于网络,如有侵权,请联系作者删除!