public static SoapOperation getSoapOperation(List<ExtensibilityElement> exts) { if (exts != null) { for (ExtensibilityElement ext : exts) { if (isSOAPOperation(ext)) { return getSoapOperation(ext); } } } return null; }
public static SoapOperation getSoapOperation(List<ExtensibilityElement> exts) { if (exts != null) { for (ExtensibilityElement ext : exts) { if (isSOAPOperation(ext)) { return getSoapOperation(ext); } } } return null; }
public static SoapOperation createSoapOperation(ExtensionRegistry extReg, boolean isSOAP12) throws WSDLException { ExtensibilityElement extElement = null; if (isSOAP12) { extElement = extReg.createExtension(BindingOperation.class, new QName(WSDLConstants.NS_SOAP12, "operation")); } else { extElement = extReg.createExtension(BindingOperation.class, new QName(WSDLConstants.NS_SOAP11, "operation")); } return getSoapOperation(extElement); }
public static SoapOperation createSoapOperation(ExtensionRegistry extReg, boolean isSOAP12) throws WSDLException { ExtensibilityElement extElement = null; if (isSOAP12) { extElement = extReg.createExtension(BindingOperation.class, new QName(WSDLConstants.NS_SOAP12, "operation")); } else { extElement = extReg.createExtension(BindingOperation.class, new QName(WSDLConstants.NS_SOAP11, "operation")); } return getSoapOperation(extElement); }
public static String getSOAPOperationStyle(BindingOperation bop) { String style = ""; if (bop != null) { for (Object obj : bop.getExtensibilityElements()) { if (isSOAPOperation(obj)) { style = getSoapOperation(obj).getStyle(); break; } } } return style; }
public static String getSOAPOperationStyle(BindingOperation bop) { String style = ""; if (bop != null) { for (Object obj : bop.getExtensibilityElements()) { if (isSOAPOperation(obj)) { style = getSoapOperation(obj).getStyle(); break; } } } return style; }
for (Object obj : bop.getExtensibilityElements()) { if (isSOAPOperation(obj)) { SoapOperation soapOperation = getSoapOperation(obj); style = soapOperation.getStyle(); if (style == null) {
for (Object obj : bop.getExtensibilityElements()) { if (isSOAPOperation(obj)) { SoapOperation soapOperation = getSoapOperation(obj); style = soapOperation.getStyle(); if (style == null) {
private Map<String, Object> getSoapOperationProp(BindingOperationInfo bop) { Map<String, Object> soapOPProp = new HashMap<>(); if (bop.getExtensor(ExtensibilityElement.class) != null) { for (ExtensibilityElement ext : bop.getExtensors(ExtensibilityElement.class)) { if (SOAPBindingUtil.isSOAPOperation(ext)) { SoapOperation soapOP = SOAPBindingUtil.getSoapOperation(ext); soapOPProp.put(this.soapOPAction, soapOP.getSoapActionURI()); soapOPProp.put(this.soapOPStyle, soapOP.getStyle()); } } } else { for (ExtensibilityElement ext : bop.getBinding().getExtensors(ExtensibilityElement.class)) { if (SOAPBindingUtil.isSOAPOperation(ext)) { SoapOperation soapOP = SOAPBindingUtil.getSoapOperation(ext); soapOPProp.put(this.soapOPAction, soapOP.getSoapActionURI()); soapOPProp.put(this.soapOPStyle, soapOP.getStyle()); } } } return soapOPProp; }
private void initializeBindingOperation(SoapBindingInfo bi, BindingOperationInfo boi) { SoapOperationInfo soi = new SoapOperationInfo(); SoapOperation soapOp = SOAPBindingUtil.getSoapOperation(boi.getExtensors(ExtensibilityElement.class)); if (soapOp != null) { String action = soapOp.getSoapActionURI(); if (action == null) { action = ""; } soi.setAction(action); soi.setStyle(soapOp.getStyle()); } boi.addExtensor(soi); if (boi.getInput() != null) { initializeMessage(bi, boi, boi.getInput()); } if (boi.getOutput() != null) { initializeMessage(bi, boi, boi.getOutput()); } }
private void initializeBindingOperation(SoapBindingInfo bi, BindingOperationInfo boi) { SoapOperationInfo soi = new SoapOperationInfo(); SoapOperation soapOp = SOAPBindingUtil.getSoapOperation(boi.getExtensors(ExtensibilityElement.class)); if (soapOp != null) { String action = soapOp.getSoapActionURI(); if (action == null) { action = ""; } soi.setAction(action); soi.setStyle(soapOp.getStyle()); } boi.addExtensor(soi); if (boi.getInput() != null) { initializeMessage(bi, boi, boi.getInput()); } if (boi.getOutput() != null) { initializeMessage(bi, boi, boi.getOutput()); } }