Codota Logo
EndpointImpl.setAddress
Code IndexAdd Codota to your IDE (free)

How to use
setAddress
method
in
org.apache.cxf.jaxws.EndpointImpl

Best Java code snippets using org.apache.cxf.jaxws.EndpointImpl.setAddress (Showing top 7 results out of 315)

  • Common ways to obtain EndpointImpl
private void myMethod () {
EndpointImpl e =
  • Codota IconObject implementor;(EndpointImpl) Endpoint.create(implementor)
  • Smart code suggestions by Codota
}
origin: stackoverflow.com

 @Configuration
@Order(3)
@ImportResource({ "classpath:META-INF/cxf/cxf.xml" })
public class CXFConfiguration {

  @Autowired
  Bus cxfBus;


@Bean
public Endpoint lotServiceEndpointWS() {
  EndpointImpl endpoint = new EndpointImpl(this.cxfBus,
      new LotServiceEndpoint());
  endpoint.setAddress("/LotService");
  endpoint.publish();

  return endpoint;
}
origin: Talend/tesb-rt-se

  @Override
  public void afterPropertiesSet() throws Exception {
    final JmsUriConfigurator cfg = JmsUriConfigurator.create(endpoint);
    if (cfg == null) {
      return;
    }
    final EndpointImpl ei = (EndpointImpl) endpoint;
    CallContext.setupEndpoint(ei);
    cfg.setPresetJmsAddress(ei.getAddress());
    ei.setAddress(cfg.createJmsAddress());
    if (publishEndpoint) {
      ei.publish();
    }
  }
}
origin: org.kie.remote/kie-remote-client

public static Endpoint setupCommandServiceEndpoint( String address, CommandWebService webServiceImpl ) {
  EndpointImpl ep = (EndpointImpl) Endpoint.create(webServiceImpl);
  ep.setAddress(address);
  ep.getProperties().put(SecurityConstants.CALLBACK_HANDLER, new TestServerPasswordCallback());
  ep.publish();
  return ep;
}
origin: apache/cxf

@BeforeClass
public static void startServers() throws Exception {
  startBusAndJMS(JMSTransactionTest.class);
  //startBusAndJMS("tcp://localhost:61616");
  endpoint = new EndpointImpl(bus, new GreeterImplWithTransaction());
  endpoint.setAddress(SERVICE_ADDRESS);
  endpoint.setFeatures(Collections.singletonList(cff));
  endpoint.publish();
}
origin: apache/cxf

protected void initDefaultServant() {
  servant = new NumberImpl();
  String wsdlLocation = "testutils/factory_pattern.wsdl";
  String bindingId = null;
  EndpointImpl ep = new EndpointImpl(bus,
                    servant, bindingId, wsdlLocation);
  ep.setEndpointName(new QName(NUMBER_SERVICE_QNAME.getNamespaceURI(), "NumberPort"));
  ep.publish(getServantAddressRoot());
  endpoints.add(ep);
  templateEpr = ep.getServer().getDestination().getAddress();
  // jms port
  EmbeddedJMSBrokerLauncher.updateWsdlExtensors(bus, wsdlLocation);
  ep = new EndpointImpl(bus, servant, bindingId, wsdlLocation);
  ep.setEndpointName(new QName(NUMBER_SERVICE_QNAME.getNamespaceURI(), "NumberPortJMS"));
  ep.setAddress("jms:jndi:dynamicQueues/test.cxf.factory_pattern.queue");
  ep.publish();
  ep.getServer().getEndpoint().getInInterceptors().add(new LoggingInInterceptor());
  ep.getServer().getEndpoint().getOutInterceptors().add(new LoggingOutInterceptor());
  endpoints.add(ep);
}
origin: apache/cxf

);
ep.setWsdlLocation(wsdl.getPath());
ep.setAddress(POLICY_CXF4122_ADDRESS);
ep.publish();
EndpointInfo ei = ep.getServer().getEndpoint().getEndpointInfo();
origin: apache/cxf

ep.setEndpointName(new QName("http://www.example.org/contract/DoubleIt", "DoubleItPortHttps"));
ep.setWsdlLocation(wsdl.getPath());
ep.setAddress(POLICY_HTTPS_ADDRESS);
ep.publish();
ep.getServer().getEndpoint().getEndpointInfo().setProperty(SecurityConstants.CALLBACK_HANDLER,
);
ep.setWsdlLocation(wsdl.getPath());
ep.setAddress(POLICY_ENCSIGN_ADDRESS);
ep.publish();
EndpointInfo ei = ep.getServer().getEndpoint().getEndpointInfo();
);
ep.setWsdlLocation(wsdl.getPath());
ep.setAddress(POLICY_SIGNENC_ADDRESS);
ep.publish();
ei = ep.getServer().getEndpoint().getEndpointInfo();
ep.setEndpointName(new QName("http://www.example.org/contract/DoubleIt", "DoubleItPortSign"));
ep.setWsdlLocation(wsdl.getPath());
ep.setAddress(POLICY_SIGN_ADDRESS);
ep.publish();
ei = ep.getServer().getEndpoint().getEndpointInfo();
ep.setEndpointName(new QName("http://www.example.org/contract/DoubleIt", "DoubleItPortXPath"));
ep.setWsdlLocation(wsdl.getPath());
ep.setAddress(POLICY_XPATH_ADDRESS);
ep.publish();
ei = ep.getServer().getEndpoint().getEndpointInfo();
org.apache.cxf.jaxwsEndpointImplsetAddress

Popular methods of EndpointImpl

  • publish
  • <init>
  • setWsdlLocation
  • setServiceName
  • getInInterceptors
  • getServer
  • getFeatures
  • getOutInterceptors
  • stop
  • getProperties
  • setEndpointName
  • getOutFaultInterceptors
  • setEndpointName,
  • getOutFaultInterceptors,
  • getBinding,
  • getService,
  • doPublish,
  • getAddress,
  • getServerFactory,
  • setFeatures,
  • setImplementorClass

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • setContentView (Activity)
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now