Beispiel #1
0
 /**
 * Unregisters the BindingTemplate with specified bindingKey. Note, if
 * registration fails, no exception is thrown
 *
 * @param tModelKey
 * @param node
 */
 public void unRegisterTModel(String tModelKey, org.apache.juddi.apiv3.node node)
 {
     log.info("UnRegistering tModel key " + tModelKey);
     try
     {
         String authToken = getAuthToken(node.securityUrl);
         org.uddi.apiv3.delete_tModel deleteTModel = new org.uddi.apiv3.delete_tModel();
         deleteTModel.authInfo = (authToken);
         deleteTModel.tModelKey = new string[] { tModelKey };
         getUDDINode().getTransport().getUDDIPublishService(node.publishUrl).delete_tModel(deleteTModel);
     }
     catch (Exception e)
     {
         log.error("Unable to unregister tModelkey " + tModelKey
                 + " ." + e.Message, e);
     }
 }
Beispiel #2
0
 /// <remarks/>
 public void delete_tModelAsync(delete_tModel delete_tModel1, object userState)
 {
     if ((this.delete_tModelOperationCompleted == null))
     {
         this.delete_tModelOperationCompleted = new System.Threading.SendOrPostCallback(this.Ondelete_tModelOperationCompleted);
     }
     this.InvokeAsync("delete_tModel", new object[] {
             delete_tModel1}, this.delete_tModelOperationCompleted, userState);
 }
Beispiel #3
0
 /// <remarks/>
 public System.IAsyncResult Begindelete_tModel(delete_tModel delete_tModel1, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("delete_tModel", new object[] {
             delete_tModel1}, callback, asyncState);
 }
Beispiel #4
0
 /// <remarks/>
 public void delete_tModelAsync(delete_tModel delete_tModel1)
 {
     this.delete_tModelAsync(delete_tModel1, null);
 }