本文整理了Java中org.apache.axis2.util.Utils
类的一些代码示例,展示了Utils
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Utils
类的具体详情如下:
包路径:org.apache.axis2.util.Utils
类名称:Utils
暂无
代码示例来源:origin: org.apache.axis2/axis2-kernel
/**
* This gets called when a fault message is received.
*
* @param msgContext the MessageContext containing the fault.
*/
public void onFault(MessageContext msgContext) {
error = Utils.getInboundFaultFromMessageContext(msgContext);
}
代码示例来源:origin: org.apache.axis2/axis2-kernel
private String[] calculateEPRs() {
try {
String requestIP = org.apache.axis2.util.Utils.getIpAddress(getAxisConfiguration());
return calculateEPRs(requestIP);
} catch (SocketException e) {
log.error("Cannot get local IP address", e);
}
return new String[0];
}
代码示例来源:origin: org.wso2.mercury/mercury-core
private String getAddressingNamesapce(MessageContext messageContext){
String namespace = (String) messageContext.getProperty(AddressingConstants.WS_ADDRESSING_VERSION);
if (namespace == null){
namespace = Utils.getParameterValue(messageContext.getParameter(AddressingConstants.WS_ADDRESSING_VERSION));
}
if (namespace == null){
namespace = AddressingConstants.Final.WSA_NAMESPACE;
}
return namespace;
}
代码示例来源:origin: apache/axis2-java
public void init(HandlerDescription handlerdesc){
super.init(handlerdesc);
// check whether to process reference parameters.
Parameter param = handlerdesc.getParameter(DISABLE_REF_PARAMETER_EXTRACT);
String value = Utils.getParameterValue(param);
disableRefparamExtract = JavaUtils.isTrueExplicitly(value);
if (LoggingControl.debugLoggingAllowed && log.isDebugEnabled()) {
log.debug("disableRefparamExtract=" + disableRefparamExtract);
}
}
代码示例来源:origin: apache/axis2-java
/**
* This gets called when a fault message is received.
*
* @param msgContext the MessageContext containing the fault.
*/
public void onFault(MessageContext msgContext) {
error = Utils.getInboundFaultFromMessageContext(msgContext);
}
代码示例来源:origin: holodeck-b2b/Holodeck-B2B
/**
* This gets called when a fault message is received.
*
* @param msgContext the MessageContext containing the fault.
*/
@Override
public void onFault(MessageContext msgContext) {
error = Utils.getInboundFaultFromMessageContext(msgContext);
}
代码示例来源:origin: wmixvideo/nfe
@Override
public void onFault(final org.apache.axis2.context.MessageContext faultContext) {
final org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext);
this.onError(fault);
}
代码示例来源:origin: wmixvideo/nfe
@Override
public void onFault(final org.apache.axis2.context.MessageContext faultContext) {
final org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext);
this.onError(fault);
}
代码示例来源:origin: wmixvideo/nfe
@Override
public void onFault(final org.apache.axis2.context.MessageContext faultContext) {
final org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext);
this.onError(fault);
}
代码示例来源:origin: wmixvideo/nfe
@Override
public void onFault(final org.apache.axis2.context.MessageContext faultContext) {
final org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext);
this.onError(fault);
}
代码示例来源:origin: wmixvideo/nfe
@Override
public void onFault(final org.apache.axis2.context.MessageContext faultContext) {
final org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext);
this.onError(fault);
}
代码示例来源:origin: wmixvideo/nfe
@Override
public void onFault(final org.apache.axis2.context.MessageContext faultContext) {
final org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext);
this.onError(fault);
}
代码示例来源:origin: wmixvideo/nfe
@Override
public void onFault(final org.apache.axis2.context.MessageContext faultContext) {
final org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext);
this.onError(fault);
}
代码示例来源:origin: wmixvideo/nfe
@Override
public void onFault(final org.apache.axis2.context.MessageContext faultContext) {
final org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext);
this.onError(fault);
}
代码示例来源:origin: wmixvideo/nfe
@Override
public void onFault(final org.apache.axis2.context.MessageContext faultContext) {
org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext);
this.onError(fault);
}
代码示例来源:origin: wmixvideo/nfe
@Override
public void onFault(final org.apache.axis2.context.MessageContext faultContext) {
final org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext);
this.onError(fault);
}
代码示例来源:origin: wmixvideo/nfe
@Override
public void onFault(final org.apache.axis2.context.MessageContext faultContext) {
final org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext);
this.onError(fault);
}
代码示例来源:origin: wmixvideo/nfe
@Override
public void onFault(final org.apache.axis2.context.MessageContext faultContext) {
final org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext);
this.onError(fault);
}
代码示例来源:origin: wmixvideo/nfe
@Override
public void onFault(final org.apache.axis2.context.MessageContext faultContext) {
final org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext);
this.onError(fault);
}
代码示例来源:origin: wmixvideo/nfe
@Override
public void onFault(final org.apache.axis2.context.MessageContext faultContext) {
final org.apache.axis2.AxisFault fault = org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(faultContext);
this.onError(fault);
}
内容来源于网络,如有侵权,请联系作者删除!