addressing.setEnabled(addressingAnnotation.enabled()); addressing.setRequired(addressingAnnotation.required()); addressing.setResponses(AddressingResponses.valueOf(addressingAnnotation.responses().toString())); portComponentRef.setAddressing(addressing); } else { addressing.setResponses(AddressingResponses.valueOf(addressingAnnotation.responses().toString()));
addressing.enabled(), addressing.required(), addressing.responses().toString()));
addressing.enabled(), addressing.required(), addressing.responses().toString()));
public final void resolveFeatures() { AddressingFeature addressing = getAddressingFeature(); if (addressing == null) { return; } if (addressing.isEnabled()) { WSAddressingFeature feature = getWSAddressingFeature(); if (feature == null) { feature = new WSAddressingFeature(); addAddressingFeature(feature); } feature.setAddressingRequired(addressing.isRequired()); feature.setResponses(addressing.getResponses().toString()); } else { removeAddressingFeature(); getEndpointInfo().setProperty("org.apache.cxf.ws.addressing.MAPAggregator.addressingDisabled", Boolean.TRUE); } }
private static void processAddressingAnnotation(final AnnotatedElement anElement, final UnifiedServiceRefMetaData serviceRefUMDM) { final javax.xml.ws.soap.Addressing addressingAnnotation = getAnnotation(anElement, javax.xml.ws.soap.Addressing.class); if (addressingAnnotation != null) { serviceRefUMDM.setAddressingAnnotationSpecified(true); serviceRefUMDM.setAddressingEnabled(addressingAnnotation.enabled()); serviceRefUMDM.setAddressingRequired(addressingAnnotation.required()); serviceRefUMDM.setAddressingResponses(addressingAnnotation.responses().toString()); } }
private static void processAddressingAnnotation(final AnnotatedElement anElement, final UnifiedServiceRefMetaData serviceRefUMDM) { final javax.xml.ws.soap.Addressing addressingAnnotation = getAnnotation(anElement, javax.xml.ws.soap.Addressing.class); if (addressingAnnotation != null) { serviceRefUMDM.setAddressingMedadata(new AddressingMetadata(true, addressingAnnotation.enabled(), addressingAnnotation.required(), addressingAnnotation.responses().toString())); } }
private static void processAddressingAnnotation(final AnnotatedElement anElement, final UnifiedServiceRefMetaData serviceRefUMDM) { final javax.xml.ws.soap.Addressing addressingAnnotation = getAnnotation(anElement, javax.xml.ws.soap.Addressing.class); if (addressingAnnotation != null) { serviceRefUMDM.setAddressingMedadata(new AddressingMetadata(true, addressingAnnotation.enabled(), addressingAnnotation.required(), addressingAnnotation.responses().toString())); } }
public final void resolveFeatures() { AddressingFeature addressing = getAddressingFeature(); if (addressing == null) { return; } if (addressing.isEnabled()) { WSAddressingFeature feature = getWSAddressingFeature(); if (feature == null) { feature = new WSAddressingFeature(); addAddressingFeature(feature); } feature.setAddressingRequired(addressing.isRequired()); feature.setResponses(addressing.getResponses().toString()); } else { removeAddressingFeature(); getEndpointInfo().setProperty("org.apache.cxf.ws.addressing.MAPAggregator.addressingDisabled", Boolean.TRUE); } }