public void propertyChange(PropertyChangeEvent evt) { if (evt.getSource() == clientSidePolicy && "decoupledEndpoint".equals(evt.getPropertyName())) { this.endpointInfo.setProperty("org.apache.cxf.ws.addressing.replyto", evt.getNewValue()); } }
/** * This method sets the Client Side Policy for this HTTPConduit. Using this * method will override any HTTPClientPolicy set in configuration. */ public void setClient(HTTPClientPolicy client) { if (this.clientSidePolicy != null) { this.clientSidePolicy.removePropertyChangeListener(this); } this.clientSidePolicyCalced = true; this.clientSidePolicy = client; clientSidePolicy.removePropertyChangeListener(this); //make sure we aren't added twice clientSidePolicy.addPropertyChangeListener(this); endpointInfo.setProperty("org.apache.cxf.ws.addressing.replyto", client.getDecoupledEndpoint()); }
/** * This call gets called by the HTTPTransportFactory after it * causes an injection of the Spring configuration properties * of this Conduit. */ public void finalizeConfig() { // See if not set by configuration, if there are defaults // in order from the Endpoint, Service, or Bus. configureConduitFromEndpointInfo(this, endpointInfo); logConfig(); if (getClient().getDecoupledEndpoint() != null) { this.endpointInfo.setProperty("org.apache.cxf.ws.addressing.replyto", getClient().getDecoupledEndpoint()); } }
endpointInfo.setProperty("URI", wsdlDescription);
public void setClientEndpointPolicy(EndpointInfo ei, EndpointPolicy ep) { ei.setProperty(POLICY_INFO_ENDPOINT_CLIENT, ep); }
endpointInfo.setProperty(WSDLGetUtils.PUBLISHED_ENDPOINT_URL, publishedEndpointUrl); endpointInfo.setProperty(entry.getKey(), entry.getValue());
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); } }
public void propertyChange(PropertyChangeEvent evt) { if (evt.getSource() == clientSidePolicy && "decoupledEndpoint".equals(evt.getPropertyName())) { this.endpointInfo.setProperty("org.apache.cxf.ws.addressing.replyto", evt.getNewValue()); } }
ep.getEndpointInfo().setProperty("URI", wsdlDescription);
if (this.getServiceFactory().isPopulateFromClass()) { for (EndpointInfo ei : bindingInfo.getService().getEndpoints()) { ei.setProperty("soap.no.validate.parts", Boolean.TRUE);
public MDBTransportDestination(MDBTransportModeType mode, Bus bus, EndpointInfo endpointInfo, MDBTransportConfiguration mdbTransportConfiguration) { super(bus, getTargetReference(endpointInfo, bus), endpointInfo); this.mdbTransportConfiguration = mdbTransportConfiguration; this.mode = mode; endpointInfo.setProperty(OneWayProcessorInterceptor.USE_ORIGINAL_THREAD, Boolean.TRUE); }
if (!isFromWsdl()) { for (EndpointInfo ei : si.getEndpoints()) { ei.setProperty("soap.no.validate.parts", Boolean.TRUE);
private static void setCryptoProperties(EndpointInfo ei, String sigProps, String encProps) { ei.setProperty(SecurityConstants.CALLBACK_HANDLER, new KeystorePasswordCallback()); ei.setProperty(SecurityConstants.SIGNATURE_PROPERTIES, sigProps); ei.setProperty(SecurityConstants.ENCRYPT_PROPERTIES, encProps); }
/** * @param endpoint * @param annotation */ private void addSchemaValidationSupport(Endpoint endpoint, SchemaValidation annotation) { if (annotation != null) { endpoint.getEndpointInfo().setProperty(Message.SCHEMA_VALIDATION_TYPE, annotation.type()); } }
/** * @param endpoint * @param annotation */ private void addSchemaValidationSupport(Endpoint endpoint, SchemaValidation annotation) { if (annotation != null) { endpoint.getEndpointInfo().setProperty(Message.SCHEMA_VALIDATION_TYPE, annotation.type()); } }
if (null == wsdlURL) { for (EndpointInfo ei : si.getEndpoints()) { ei.setProperty("soap.no.validate.parts", Boolean.TRUE);
public void addVersionTransformer(Dispatch<Object> dispatch) { Map<String, String> nsMap = new HashMap<>(); nsMap.put("tns", NS_1_1); nsMap.put("wsa", getAddressingNamespace()); ((DispatchImpl)dispatch).getClient().getEndpoint().getEndpointInfo() .setProperty("soap.env.ns.map", nsMap); } public QName getServiceName() {
public void addVersionTransformer(Dispatch<Object> dispatch) { Map<String, String> nsMap = new HashMap<>(); nsMap.put("tns", NS_1_1); nsMap.put("wsa", getAddressingNamespace()); ((DispatchImpl)dispatch).getClient().getEndpoint().getEndpointInfo() .setProperty("soap.env.ns.map", nsMap); } public QName getServiceName() {
public JMSDestination(Bus b, EndpointInfo info, JMSConfiguration jmsConfig) { super(b, getTargetReference(info, b), info); this.bus = b; this.jmsConfig = jmsConfig; info.setProperty(OneWayProcessorInterceptor.USE_ORIGINAL_THREAD, Boolean.TRUE); loader = bus.getExtension(ClassLoader.class); int restartLimit = jmsConfig.getMaxSuspendedContinuations() * jmsConfig.getReconnectPercentOfMax() / 100; this.suspendedContinuations = new ThrottlingCounter(restartLimit, jmsConfig.getMaxSuspendedContinuations()); }
private Endpoint publishEndpoint(boolean autoRewriteSoapAddress) { Endpoint endpoint = Endpoint.publish("http://localhost:" + PORT + "/SoapContext/GreeterPort", new GreeterImpl()); EndpointInfo ei = ((EndpointImpl)endpoint).getServer().getEndpoint().getEndpointInfo(); ei.setProperty("autoRewriteSoapAddress", autoRewriteSoapAddress); return endpoint; } }