Examples of DeleteBinding


Examples of org.uddi.api_v3.DeleteBinding

   */
  public void unRegisterBinding(String bindingKey, Node node) {
    log.info("UnRegistering binding key " + bindingKey);
    try {
      String authToken = getAuthToken(node.getSecurityUrl());
      DeleteBinding deleteBinding = new DeleteBinding();
      deleteBinding.setAuthInfo(authToken);
      deleteBinding.getBindingKey().add(bindingKey);
      getUDDINode().getTransport().getUDDIPublishService(node.getPublishUrl()).deleteBinding(deleteBinding);
    } catch (Exception e) {
      log.error("Unable to unregister bindingkey " + bindingKey
          + " ." + e.getMessage(),e);
    }
View Full Code Here

Examples of org.uddi.api_v3.DeleteBinding

  }
 
  public void deleteBinding(String authInfo, String bindingKey) {
    try {
      // Delete the entity and make sure it is removed
      DeleteBinding db = new DeleteBinding();
      db.setAuthInfo(authInfo);
     
      db.getBindingKey().add(bindingKey);
      publication.deleteBinding(db);
    }
    catch(Exception e) {
      logger.error(e.getMessage(), e);
      Assert.fail("No exception should be thrown.");
View Full Code Here

Examples of org.uddi.api_v3.DeleteBinding

         * @param node
         */
        public void unRegisterBinding(String bindingKey, Node node) {
                log.info("UnRegistering binding key " + bindingKey);
                try {
                        DeleteBinding deleteBinding = new DeleteBinding();
                        deleteBinding.setAuthInfo(getAuthToken(node.getSecurityUrl()));
                        deleteBinding.getBindingKey().add(bindingKey);
                        getUDDINode().getTransport().getUDDIPublishService(node.getPublishUrl()).deleteBinding(deleteBinding);
                } catch (Exception e) {
                        log.error("Unable to unregister bindingkey " + bindingKey
                                + " ." + e.getMessage(), e);
                }
View Full Code Here

Examples of org.uddi.api_v3.DeleteBinding

        public static DeleteBinding MapDeleteBinding(org.uddi.api_v2.DeleteBinding body) {
                if (body == null) {
                        return null;
                }
                DeleteBinding r = new DeleteBinding();
                r.setAuthInfo(body.getAuthInfo());
                r.getBindingKey().addAll(body.getBindingKey());
                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.