Package org.talend.schemas.esb.locator.rest._2011._11

Examples of org.talend.schemas.esb.locator.rest._2011._11.EntryType


    System.out.println("Property: " + key + "=" + value);
    WebClient wc = WebClient.create(BASE_ADDRESS);
    EntryType et = new EntryType();
    et.setKey(key);
    et.getValue().add(value);
    RegisterEndpointRequest registerEndpointRequest = new RegisterEndpointRequest();
    registerEndpointRequest.setEndpointURL(endpoint);
    registerEndpointRequest.setBinding(BindingType.JAXRS);
    registerEndpointRequest.setTransport(TransportType.HTTPS);
    registerEndpointRequest.setServiceName(service);
    registerEndpointRequest.getEntryType().add(et);
    try {
      wc.post(registerEndpointRequest);
      System.out.println("Endpoint registered successfully");
    } catch (WebApplicationException ex) {
      System.err.println(ex.getMessage());
View Full Code Here

TOP

Related Classes of org.talend.schemas.esb.locator.rest._2011._11.EntryType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.