/** * Add the QName for the binding input * * @param inMessage * @param wsdl4jOperation * @param bindingInput * @param isWrapped - basically whether the operation is soap/rpc or not */ private void addQNameReference(AxisMessage inMessage, Operation wsdl4jOperation, BindingInput bindingInput, boolean isWrapped) { List extensibilityElements = bindingInput.getExtensibilityElements(); Message wsdl4jMessage = wsdl4jOperation.getInput().getMessage(); addQNameReference(inMessage, wsdl4jOperation, isWrapped, extensibilityElements, wsdl4jMessage, wsdl4jOperation.getName()); }
/** * Add the QName for the binding input * * @param inMessage * @param wsdl4jOperation * @param bindingInput * @param isWrapped - basically whether the operation is soap/rpc or not */ private void addQNameReference(AxisMessage inMessage, Operation wsdl4jOperation, BindingInput bindingInput, boolean isWrapped) { List extensibilityElements = bindingInput.getExtensibilityElements(); Message wsdl4jMessage = wsdl4jOperation.getInput().getMessage(); addQNameReference(inMessage, wsdl4jOperation, isWrapped, extensibilityElements, wsdl4jMessage, wsdl4jOperation.getName()); }
/** * Add the QName for the binding output * * @param outMessage * @param wsdl4jOperation * @param isWrapped */ private void addQNameReference(AxisMessage outMessage, Operation wsdl4jOperation, BindingOutput bindingOutput, boolean isWrapped) { if (bindingOutput != null) { List extensibilityElements = bindingOutput.getExtensibilityElements(); if (wsdl4jOperation.getOutput() == null) { return; } Message wsdl4jMessage = wsdl4jOperation.getOutput().getMessage(); addQNameReference(outMessage, wsdl4jOperation, isWrapped, extensibilityElements, wsdl4jMessage, wsdl4jOperation.getName() + WRAPPED_OUTPUTNAME_SUFFIX); } }
/** * Add the QName for the binding output * * @param outMessage * @param wsdl4jOperation * @param isWrapped */ private void addQNameReference(AxisMessage outMessage, Operation wsdl4jOperation, BindingOutput bindingOutput, boolean isWrapped) { if (bindingOutput != null) { List extensibilityElements = bindingOutput.getExtensibilityElements(); if (wsdl4jOperation.getOutput() == null) { return; } Message wsdl4jMessage = wsdl4jOperation.getOutput().getMessage(); addQNameReference(outMessage, wsdl4jOperation, isWrapped, extensibilityElements, wsdl4jMessage, wsdl4jOperation.getName() + WRAPPED_OUTPUTNAME_SUFFIX); } }
BindingOperationEntry boe = find(wrappableBOEs, wsdl4jBindingOperation); boolean isWrapped = (boe == null) ? false : boe.isWrappedInput(); addQNameReference(axisInMessage, wsdl4jOperation, wsdl4jBindingInput, isWrapped); BindingOperationEntry boe = find(wrappableBOEs, wsdl4jBindingOperation); boolean isWrapped = (boe == null) ? false : boe.isWrappedInput(); addQNameReference(axisOutMessage, wsdl4jOperation, wsdl4jBindingInput, isWrapped); boolean isWrapped = (boe == null) ? false : boe.isWrappedOutput(); axisOutMessage.setWrapped(isWrapped); addQNameReference(axisOutMessage, wsdl4jOperation, wsdl4jBindingOutput, isWrapped); boolean isWrapped = (boe == null) ? false : boe.isWrappedOutput(); axisInMessage.setWrapped(isWrapped); addQNameReference(axisInMessage, wsdl4jOperation, wsdl4jBindingOutput, isWrapped); addQNameReference(faultMessage, wsdl4jFault.getMessage());
BindingOperationEntry boe = find(wrappableBOEs, wsdl4jBindingOperation); boolean isWrapped = (boe == null) ? false : boe.isWrappedInput(); addQNameReference(axisInMessage, wsdl4jOperation, wsdl4jBindingInput, isWrapped); BindingOperationEntry boe = find(wrappableBOEs, wsdl4jBindingOperation); boolean isWrapped = (boe == null) ? false : boe.isWrappedInput(); addQNameReference(axisOutMessage, wsdl4jOperation, wsdl4jBindingInput, isWrapped); boolean isWrapped = (boe == null) ? false : boe.isWrappedOutput(); axisOutMessage.setWrapped(isWrapped); addQNameReference(axisOutMessage, wsdl4jOperation, wsdl4jBindingOutput, isWrapped); boolean isWrapped = (boe == null) ? false : boe.isWrappedOutput(); axisInMessage.setWrapped(isWrapped); addQNameReference(axisInMessage, wsdl4jOperation, wsdl4jBindingOutput, isWrapped); addQNameReference(faultMessage, wsdl4jFault.getMessage());