public SOAPBinding.Use getSOAPUse() { if (null != soapBindAnnotation) { return soapBindAnnotation.use(); } return SOAPBinding.Use.LITERAL; }
/** * The SOAP binding use of this web method. * * @return The SOAP binding use of this web method. */ public SOAPBinding.Use getSoapUse() { SOAPBinding.Use use = SOAPBinding.Use.LITERAL; SOAPBinding bindingInfo = getAnnotation(SOAPBinding.class); if (bindingInfo != null) { use = bindingInfo.use(); } return use; }
/** * The SOAP binding use of this web method. * * @return The SOAP binding use of this web method. */ public SOAPBinding.Use getSoapUse() { SOAPBinding.Use use = SOAPBinding.Use.LITERAL; SOAPBinding bindingInfo = getAnnotation(SOAPBinding.class); if (bindingInfo != null) { use = bindingInfo.use(); } return use; }
/** * The SOAP binding use of this web method. * * @return The SOAP binding use of this web method. */ public SOAPBinding.Use getSoapUse() { SOAPBinding.Use use = SOAPBinding.Use.LITERAL; SOAPBinding bindingInfo = getAnnotation(SOAPBinding.class); if (bindingInfo != null) { use = bindingInfo.use(); } return use; }
private void setMethodUse(JavaMethod javaMethod, Method method) { SOAPBinding binding = method.getAnnotation(SOAPBinding.class); if (binding != null) { javaMethod.setSoapUse(binding.use()); } else { javaMethod.setSoapUse(this.model.getUse()); } }
private void setMethodUse(JavaMethod javaMethod, Method method) { SOAPBinding binding = method.getAnnotation(SOAPBinding.class); if (binding != null) { javaMethod.setSoapUse(binding.use()); } else { javaMethod.setSoapUse(this.model.getUse()); } }
private void setMethodUse(JavaMethod javaMethod, Method method) { SOAPBinding binding = method.getAnnotation(SOAPBinding.class); if (binding != null) { javaMethod.setSoapUse(binding.use()); } else { javaMethod.setSoapUse(this.model.getUse()); } }
public javax.jws.soap.SOAPBinding.Use getAnnoSoapBindingUse() { if (soapBindingUse == null) { if (getAnnoSoapBinding() != null && getAnnoSoapBinding().use() != null) { soapBindingUse = getAnnoSoapBinding().use(); } else { // Per JSR-181 MR Sec 4.7, pg 28: if not specified, use the Type value. soapBindingUse = getEndpointInterfaceDescription().getSoapBindingUse(); } } return soapBindingUse; }
public javax.jws.soap.SOAPBinding.Use getAnnoSoapBindingUse() { if (soapBindingUse == null) { if (getAnnoSoapBinding() != null && getAnnoSoapBinding().use() != null) { soapBindingUse = getAnnoSoapBinding().use(); } else { // Per JSR-181 MR Sec 4.7, pg 28: if not specified, use the Type value. soapBindingUse = getEndpointInterfaceDescription().getSoapBindingUse(); } } return soapBindingUse; }
public static SoapBindingAnnot createFromAnnotation(Annotation annotation) { SoapBindingAnnot returnAnnot = null; if (annotation != null && annotation instanceof javax.jws.soap.SOAPBinding) { javax.jws.soap.SOAPBinding sb = (javax.jws.soap.SOAPBinding) annotation; returnAnnot = new SoapBindingAnnot(sb.style(), sb.use(), sb.parameterStyle()); } return returnAnnot; }
/** * The SOAP binding use of this web method. * * @return The SOAP binding use of this web method. */ public SOAPBinding.Use getSoapUse() { SOAPBinding.Use use = getDeclaringEndpointInterface().getSoapUse(); SOAPBinding bindingInfo = getAnnotation(SOAPBinding.class); if (bindingInfo != null) { use = bindingInfo.use(); } return use; }
public static SoapBindingAnnot createFromAnnotation(Annotation annotation) { SoapBindingAnnot returnAnnot = null; if (annotation != null && annotation instanceof javax.jws.soap.SOAPBinding) { javax.jws.soap.SOAPBinding sb = (javax.jws.soap.SOAPBinding) annotation; returnAnnot = new SoapBindingAnnot(sb.style(), sb.use(), sb.parameterStyle()); } return returnAnnot; }
/** * The SOAP binding use of this web method. * * @return The SOAP binding use of this web method. */ public SOAPBinding.Use getSoapUse() { SOAPBinding.Use use = getDeclaringEndpointInterface().getSoapUse(); SOAPBinding bindingInfo = getAnnotation(SOAPBinding.class); if (bindingInfo != null) { use = bindingInfo.use(); } return use; }
/** * The SOAP binding use of this web method. * * @return The SOAP binding use of this web method. */ public SOAPBinding.Use getSoapUse() { SOAPBinding.Use use = getDeclaringEndpointInterface().getSoapUse(); SOAPBinding bindingInfo = getAnnotation(SOAPBinding.class); if (bindingInfo != null) { use = bindingInfo.use(); } return use; }
/** * This is a helper method to create a <code>SoapBindingAnnot</code> since the * * @param soapBinding - <code>SOAPBinding</code> * @return - <code>SoapBindingAnnot</code> * @SOAPBinding annotation may be present on a Type or Method. */ public static SoapBindingAnnot createSoapBindingAnnot(SOAPBinding soapBinding) { SoapBindingAnnot sbAnnot = SoapBindingAnnot.createSoapBindingAnnotImpl(); sbAnnot.setParameterStyle(soapBinding.parameterStyle()); sbAnnot.setStyle(soapBinding.style()); sbAnnot.setUse(soapBinding.use()); return sbAnnot; }
/** * This is a helper method to create a <code>SoapBindingAnnot</code> since the * * @param soapBinding - <code>SOAPBinding</code> * @return - <code>SoapBindingAnnot</code> * @SOAPBinding annotation may be present on a Type or Method. */ public static SoapBindingAnnot createSoapBindingAnnot(SOAPBinding soapBinding) { SoapBindingAnnot sbAnnot = SoapBindingAnnot.createSoapBindingAnnotImpl(); sbAnnot.setParameterStyle(soapBinding.parameterStyle()); sbAnnot.setStyle(soapBinding.style()); sbAnnot.setUse(soapBinding.use()); return sbAnnot; }