Java Code Examples for com.sun.xml.internal.ws.api.model.ParameterBinding#BODY
The following examples show how to use
com.sun.xml.internal.ws.api.model.ParameterBinding#BODY .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: WSDLBoundOperationImpl.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
/** * Gets {@link ParameterBinding} for a given wsdl part in wsdl:output * * @param part Name of wsdl:part, must be non-null * @return null if the part is not found. */ public ParameterBinding getOutputBinding(String part){ if(emptyOutputBody == null){ if(outputParts.get(" ") != null) emptyOutputBody = true; else emptyOutputBody = false; } ParameterBinding block = outputParts.get(part); if(block == null){ if(explicitOutputSOAPBodyParts || emptyOutputBody) return ParameterBinding.UNBOUND; return ParameterBinding.BODY; } return block; }
Example 2
Source File: WSDLBoundOperationImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
/** * Gets {@link ParameterBinding} for a given wsdl part in wsdl:fault * * @param part Name of wsdl:part, must be non-null * @return null if the part is not found. */ public ParameterBinding getFaultBinding(String part){ if(emptyFaultBody == null){ if(faultParts.get(" ") != null) emptyFaultBody = true; else emptyFaultBody = false; } ParameterBinding block = faultParts.get(part); if(block == null){ if(explicitFaultSOAPBodyParts || emptyFaultBody) return ParameterBinding.UNBOUND; return ParameterBinding.BODY; } return block; }
Example 3
Source File: WSDLBoundOperationImpl.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
/** * Gets {@link ParameterBinding} for a given wsdl part in wsdl:input * * @param part Name of wsdl:part, must be non-null * @return null if the part is not found. */ public ParameterBinding getInputBinding(String part){ if(emptyInputBody == null){ if(inputParts.get(" ") != null) emptyInputBody = true; else emptyInputBody = false; } ParameterBinding block = inputParts.get(part); if(block == null){ if(explicitInputSOAPBodyParts || emptyInputBody) return ParameterBinding.UNBOUND; return ParameterBinding.BODY; } return block; }
Example 4
Source File: WSDLBoundOperationImpl.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
/** * Gets {@link ParameterBinding} for a given wsdl part in wsdl:fault * * @param part Name of wsdl:part, must be non-null * @return null if the part is not found. */ public ParameterBinding getFaultBinding(String part){ if(emptyFaultBody == null){ if(faultParts.get(" ") != null) emptyFaultBody = true; else emptyFaultBody = false; } ParameterBinding block = faultParts.get(part); if(block == null){ if(explicitFaultSOAPBodyParts || emptyFaultBody) return ParameterBinding.UNBOUND; return ParameterBinding.BODY; } return block; }
Example 5
Source File: WSDLBoundOperationImpl.java From hottub with GNU General Public License v2.0 | 6 votes |
/** * Gets {@link ParameterBinding} for a given wsdl part in wsdl:input * * @param part Name of wsdl:part, must be non-null * @return null if the part is not found. */ public ParameterBinding getInputBinding(String part){ if(emptyInputBody == null){ if(inputParts.get(" ") != null) emptyInputBody = true; else emptyInputBody = false; } ParameterBinding block = inputParts.get(part); if(block == null){ if(explicitInputSOAPBodyParts || emptyInputBody) return ParameterBinding.UNBOUND; return ParameterBinding.BODY; } return block; }
Example 6
Source File: WSDLBoundOperationImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
/** * Gets {@link ParameterBinding} for a given wsdl part in wsdl:output * * @param part Name of wsdl:part, must be non-null * @return null if the part is not found. */ public ParameterBinding getOutputBinding(String part){ if(emptyOutputBody == null){ if(outputParts.get(" ") != null) emptyOutputBody = true; else emptyOutputBody = false; } ParameterBinding block = outputParts.get(part); if(block == null){ if(explicitOutputSOAPBodyParts || emptyOutputBody) return ParameterBinding.UNBOUND; return ParameterBinding.BODY; } return block; }
Example 7
Source File: WSDLBoundOperationImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
/** * Gets {@link ParameterBinding} for a given wsdl part in wsdl:input * * @param part Name of wsdl:part, must be non-null * @return null if the part is not found. */ public ParameterBinding getInputBinding(String part){ if(emptyInputBody == null){ if(inputParts.get(" ") != null) emptyInputBody = true; else emptyInputBody = false; } ParameterBinding block = inputParts.get(part); if(block == null){ if(explicitInputSOAPBodyParts || emptyInputBody) return ParameterBinding.UNBOUND; return ParameterBinding.BODY; } return block; }
Example 8
Source File: WSDLBoundOperationImpl.java From hottub with GNU General Public License v2.0 | 6 votes |
/** * Gets {@link ParameterBinding} for a given wsdl part in wsdl:output * * @param part Name of wsdl:part, must be non-null * @return null if the part is not found. */ public ParameterBinding getOutputBinding(String part){ if(emptyOutputBody == null){ if(outputParts.get(" ") != null) emptyOutputBody = true; else emptyOutputBody = false; } ParameterBinding block = outputParts.get(part); if(block == null){ if(explicitOutputSOAPBodyParts || emptyOutputBody) return ParameterBinding.UNBOUND; return ParameterBinding.BODY; } return block; }
Example 9
Source File: WSDLBoundOperationImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
/** * Gets {@link ParameterBinding} for a given wsdl part in wsdl:input * * @param part Name of wsdl:part, must be non-null * @return null if the part is not found. */ public ParameterBinding getInputBinding(String part){ if(emptyInputBody == null){ if(inputParts.get(" ") != null) emptyInputBody = true; else emptyInputBody = false; } ParameterBinding block = inputParts.get(part); if(block == null){ if(explicitInputSOAPBodyParts || emptyInputBody) return ParameterBinding.UNBOUND; return ParameterBinding.BODY; } return block; }
Example 10
Source File: WSDLBoundOperationImpl.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
/** * Gets {@link ParameterBinding} for a given wsdl part in wsdl:output * * @param part Name of wsdl:part, must be non-null * @return null if the part is not found. */ public ParameterBinding getOutputBinding(String part){ if(emptyOutputBody == null){ if(outputParts.get(" ") != null) emptyOutputBody = true; else emptyOutputBody = false; } ParameterBinding block = outputParts.get(part); if(block == null){ if(explicitOutputSOAPBodyParts || emptyOutputBody) return ParameterBinding.UNBOUND; return ParameterBinding.BODY; } return block; }
Example 11
Source File: WSDLBoundOperationImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
/** * Gets {@link ParameterBinding} for a given wsdl part in wsdl:fault * * @param part Name of wsdl:part, must be non-null * @return null if the part is not found. */ public ParameterBinding getFaultBinding(String part){ if(emptyFaultBody == null){ if(faultParts.get(" ") != null) emptyFaultBody = true; else emptyFaultBody = false; } ParameterBinding block = faultParts.get(part); if(block == null){ if(explicitFaultSOAPBodyParts || emptyFaultBody) return ParameterBinding.UNBOUND; return ParameterBinding.BODY; } return block; }
Example 12
Source File: WSDLBoundOperationImpl.java From hottub with GNU General Public License v2.0 | 6 votes |
/** * Gets {@link ParameterBinding} for a given wsdl part in wsdl:fault * * @param part Name of wsdl:part, must be non-null * @return null if the part is not found. */ public ParameterBinding getFaultBinding(String part){ if(emptyFaultBody == null){ if(faultParts.get(" ") != null) emptyFaultBody = true; else emptyFaultBody = false; } ParameterBinding block = faultParts.get(part); if(block == null){ if(explicitFaultSOAPBodyParts || emptyFaultBody) return ParameterBinding.UNBOUND; return ParameterBinding.BODY; } return block; }
Example 13
Source File: WSDLBoundOperationImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
/** * Gets {@link ParameterBinding} for a given wsdl part in wsdl:output * * @param part Name of wsdl:part, must be non-null * @return null if the part is not found. */ public ParameterBinding getOutputBinding(String part){ if(emptyOutputBody == null){ if(outputParts.get(" ") != null) emptyOutputBody = true; else emptyOutputBody = false; } ParameterBinding block = outputParts.get(part); if(block == null){ if(explicitOutputSOAPBodyParts || emptyOutputBody) return ParameterBinding.UNBOUND; return ParameterBinding.BODY; } return block; }
Example 14
Source File: RuntimeModeler.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private ParameterBinding getBinding(String operation, String part, boolean isHeader, Mode mode){ if(binding == null){ if(isHeader) return ParameterBinding.HEADER; else return ParameterBinding.BODY; } QName opName = new QName(binding.getBinding().getPortType().getName().getNamespaceURI(), operation); return binding.getBinding().getBinding(opName, part, mode); }
Example 15
Source File: RuntimeModeler.java From hottub with GNU General Public License v2.0 | 5 votes |
private ParameterBinding getBinding(String operation, String part, boolean isHeader, Mode mode){ if(binding == null){ if(isHeader) return ParameterBinding.HEADER; else return ParameterBinding.BODY; } QName opName = new QName(binding.getBinding().getPortType().getName().getNamespaceURI(), operation); return binding.getBinding().getBinding(opName, part, mode); }
Example 16
Source File: RuntimeModeler.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private ParameterBinding getBinding(String operation, String part, boolean isHeader, Mode mode){ if(binding == null){ if(isHeader) return ParameterBinding.HEADER; else return ParameterBinding.BODY; } QName opName = new QName(binding.getBinding().getPortType().getName().getNamespaceURI(), operation); return binding.getBinding().getBinding(opName, part, mode); }
Example 17
Source File: RuntimeModeler.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private ParameterBinding getBinding(String operation, String part, boolean isHeader, Mode mode){ if(binding == null){ if(isHeader) return ParameterBinding.HEADER; else return ParameterBinding.BODY; } QName opName = new QName(binding.getBinding().getPortType().getName().getNamespaceURI(), operation); return binding.getBinding().getBinding(opName, part, mode); }
Example 18
Source File: ParameterImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
/** * @return the Binding for this Parameter */ public ParameterBinding getBinding() { if(binding == null) return ParameterBinding.BODY; return binding; }
Example 19
Source File: ParameterImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
/** * @return the Binding for this Parameter */ public ParameterBinding getBinding() { if(binding == null) return ParameterBinding.BODY; return binding; }
Example 20
Source File: ParameterImpl.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
/** * @return the Binding for this Parameter */ public ParameterBinding getBinding() { if(binding == null) return ParameterBinding.BODY; return binding; }