Examples of DeleteService


Examples of org.uddi.api_v3.DeleteService

 
  public void deleteServices(String authInfo, int businessInt, String serviceKey, int numberOfCopies) {
    try {
      for (int i=0; i<numberOfCopies; i++) {
        // Delete the entity and make sure it is removed
        DeleteService ds = new DeleteService();
        ds.setAuthInfo(authInfo);
        ds.getServiceKey().add(serviceKey + "-" + businessInt + "-" + i);
        publication.deleteService(ds);
        logger.debug("Deleted Service with key " + businessInt + "-" + serviceKey + "-" + i);
      }
    }
    catch(Exception e) {
View Full Code Here

Examples of org.uddi.api_v3.DeleteService

   */
  public void unRegisterService(String serviceKey, Node node) {
    log.info("UnRegistering the service " + serviceKey);
    try {
      String authToken = getAuthToken(node.getSecurityUrl());
      DeleteService deleteService = new DeleteService();
      deleteService.setAuthInfo(authToken);
      deleteService.getServiceKey().add(serviceKey);
      getUDDINode().getTransport().getUDDIPublishService(node.getPublishUrl()).deleteService(deleteService);
    } catch (Exception e) {
      log.error("Unable to register service " + serviceKey
          + " ." + e.getMessage(),e);
    }
View Full Code Here

Examples of org.uddi.api_v3.DeleteService

         * @param node
         */
        public void unRegisterService(String serviceKey, Node node) {
                log.info("UnRegistering the service " + serviceKey);
                try {
                        DeleteService deleteService = new DeleteService();
                        deleteService.setAuthInfo(getAuthToken(node.getSecurityUrl()));
                        deleteService.getServiceKey().add(serviceKey);
                        getUDDINode().getTransport().getUDDIPublishService(node.getPublishUrl()).deleteService(deleteService);
                } catch (Exception e) {
                        log.error("Unable to register service " + serviceKey
                                + " ." + e.getMessage(), e);
                }
View Full Code Here

Examples of org.uddi.api_v3.DeleteService

        public static DeleteService MapDeleteService(org.uddi.api_v2.DeleteService body) {
                if (body == null) {
                        return null;
                }
                DeleteService r = new DeleteService();
                r.setAuthInfo(body.getAuthInfo());
                r.getServiceKey().addAll(body.getServiceKey());
                return r;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.