protected void setupBindingOperationInfo(Exchange exch, Object data) { if (exch.getBindingOperationInfo() == null) { //need to know the operation to determine if oneway QName opName = getOpQName(exch, data); if (opName == null) { return; } BindingOperationInfo bop = ServiceModelUtil .getOperationForWrapperElement(exch, opName, false); if (bop == null) { bop = ServiceModelUtil.getOperation(exch, opName); } if (bop != null) { exch.put(BindingOperationInfo.class, bop); if (bop.getOutput() == null) { exch.setOneWay(true); } } } }
protected BindingOperationInfo getBindingOperationInfo(Exchange exchange, QName name, boolean client) { BindingOperationInfo bop = ServiceModelUtil.getOperationForWrapperElement(exchange, name, client); if (bop == null) { bop = super.getBindingOperationInfo(exchange, name, client); } if (bop != null) { exchange.put(BindingOperationInfo.class, bop); } return bop; }
protected BindingOperationInfo getBindingOperationInfo(Exchange exchange, QName name, boolean client) { BindingOperationInfo bop = ServiceModelUtil.getOperationForWrapperElement(exchange, name, client); if (bop == null) { bop = super.getBindingOperationInfo(exchange, name, client); } if (bop != null) { exchange.put(BindingOperationInfo.class, bop); exchange.put(OperationInfo.class, bop.getOperationInfo()); } return bop; }
protected BindingOperationInfo getBindingOperationInfo(Exchange exchange, QName name, boolean client) { BindingOperationInfo bop = ServiceModelUtil.getOperationForWrapperElement(exchange, name, client); if (bop == null) { bop = super.getBindingOperationInfo(exchange, name, client); } if (bop != null) { exchange.put(BindingOperationInfo.class, bop); exchange.put(OperationInfo.class, bop.getOperationInfo()); } return bop; }
protected void setupBindingOperationInfo(Exchange exch, Object data) { if (exch.getBindingOperationInfo() == null) { //need to know the operation to determine if oneway QName opName = getOpQName(exch, data); if (opName == null) { return; } BindingOperationInfo bop = ServiceModelUtil .getOperationForWrapperElement(exch, opName, false); if (bop == null) { bop = ServiceModelUtil.getOperation(exch, opName); } if (bop != null) { exch.put(BindingOperationInfo.class, bop); if (bop.getOutput() == null) { exch.setOneWay(true); } } } }