/** * Use {@link BindingImpl#create(BindingID)} to create this. * * @param bindingId binding id * @param features * These features have a precedence over * {@link BindingID#createBuiltinFeatureList() the implicit features} * associated with the {@link BindingID}. */ SOAPBindingImpl(BindingID bindingId, WebServiceFeature... features) { super(bindingId, features); this.soapVersion = bindingId.getSOAPVersion(); //populates with required roles and updates handlerConfig setRoles(new HashSet<String>()); //Is this still required? comment out for now //setupSystemHandlerDelegate(serviceName); this.features.addAll(bindingId.createBuiltinFeatureList()); }
/** * Use {@link BindingImpl#create(BindingID)} to create this. * * @param bindingId binding id * @param features * These features have a precedence over * {@link BindingID#createBuiltinFeatureList() the implicit features} * associated with the {@link BindingID}. */ SOAPBindingImpl(BindingID bindingId, WebServiceFeature... features) { super(bindingId, features); this.soapVersion = bindingId.getSOAPVersion(); //populates with required roles and updates handlerConfig setRoles(new HashSet<String>()); //Is this still required? comment out for now //setupSystemHandlerDelegate(serviceName); this.features.addAll(bindingId.createBuiltinFeatureList()); }
/** * Use {@link BindingImpl#create(BindingID)} to create this. * * @param bindingId binding id * @param features * These features have a precedence over * {@link BindingID#createBuiltinFeatureList() the implicit features} * associated with the {@link BindingID}. */ SOAPBindingImpl(BindingID bindingId, WebServiceFeature... features) { super(bindingId, features); this.soapVersion = bindingId.getSOAPVersion(); //populates with required roles and updates handlerConfig setRoles(new HashSet<String>()); //Is this still required? comment out for now //setupSystemHandlerDelegate(serviceName); this.features.addAll(bindingId.createBuiltinFeatureList()); }
/** * * @param endpointClass web service impl class */ public void parseAnnotations(Class<?> endpointClass) { for (Annotation a : endpointClass.getAnnotations()) { WebServiceFeature ftr = getFeature(a); if (ftr != null) { if (ftr instanceof MTOMFeature) { // check conflict with @BindingType BindingID bindingID = BindingID.parse(endpointClass); MTOMFeature bindingMtomSetting = bindingID.createBuiltinFeatureList().get(MTOMFeature.class); if (bindingMtomSetting != null && bindingMtomSetting.isEnabled() ^ ftr.isEnabled()) { throw new RuntimeModelerException( ModelerMessages.RUNTIME_MODELER_MTOM_CONFLICT(bindingID, ftr.isEnabled())); } } add(ftr); } } }
if (ddBindingId != null) { bindingID = BindingID.parse(ddBindingId); features = bindingID.createBuiltinFeatureList(); features.add(mtomfeature); features.addAll(bindingID.createBuiltinFeatureList());
/** * * @param endpointClass web service impl class */ public void parseAnnotations(Class<?> endpointClass) { for (Annotation a : endpointClass.getAnnotations()) { WebServiceFeature ftr = getFeature(a); if (ftr != null) { if (ftr instanceof MTOMFeature) { // check conflict with @BindingType BindingID bindingID = BindingID.parse(endpointClass); MTOMFeature bindingMtomSetting = bindingID.createBuiltinFeatureList().get(MTOMFeature.class); if (bindingMtomSetting != null && bindingMtomSetting.isEnabled() ^ ftr.isEnabled()) { throw new RuntimeModelerException( ModelerMessages.RUNTIME_MODELER_MTOM_CONFLICT(bindingID, ftr.isEnabled())); } } add(ftr); } } }
if (ddBindingId != null) { bindingID = BindingID.parse(ddBindingId); features = bindingID.createBuiltinFeatureList(); features.add(mtomfeature); features.addAll(bindingID.createBuiltinFeatureList());
if (ddBindingId != null) { bindingID = BindingID.parse(ddBindingId); features = bindingID.createBuiltinFeatureList(); features.add(mtomfeature); features.addAll(bindingID.createBuiltinFeatureList());
/** * * @param endpointClass web service impl class */ public void parseAnnotations(Class<?> endpointClass) { for (Annotation a : endpointClass.getAnnotations()) { WebServiceFeature ftr = getFeature(a); if (ftr != null) { if (ftr instanceof MTOMFeature) { // check conflict with @BindingType BindingID bindingID = BindingID.parse(endpointClass); MTOMFeature bindingMtomSetting = bindingID.createBuiltinFeatureList().get(MTOMFeature.class); if (bindingMtomSetting != null && bindingMtomSetting.isEnabled() ^ ftr.isEnabled()) { throw new RuntimeModelerException( ModelerMessages.RUNTIME_MODELER_MTOM_CONFLICT(bindingID, ftr.isEnabled())); } } add(ftr); } } }
if (ddBindingId != null) { bindingID = BindingID.parse(ddBindingId); features = bindingID.createBuiltinFeatureList(); features.add(mtomfeature); features.addAll(bindingID.createBuiltinFeatureList());