Exemplo n.º 1
0
        /**
         * Gets the details of a tModel by the key using the referenced Node
         * from the config file
         *
         * @param getTModelDetail
         * @param node
         * @return null if not found or error
         * @throws RemoteException
         * @throws TransportException
         * @throws ConfigurationException
         */
        public tModelDetail getTModelDetail(get_tModelDetail getTModelDetail, org.apache.juddi.apiv3.node node)
        {
            getTModelDetail.authInfo = (getAuthToken(node.securityUrl));
            try
            {
                tModelDetail tModelDetail = getUDDINode().getTransport().getUDDIInquiryService(node.inquiryUrl).get_tModelDetail(getTModelDetail);
                return tModelDetail;
            }
            catch (Exception dr)
            {
                log.error("", dr);
                //DispositionReport report = DispositionReportFaultMessage.getDispositionReport(dr);
                //checkForErrorInDispositionReport(report, null, null);
            }

            return null;
        }
Exemplo n.º 2
0
 /**
  * Gets the details of a tModel by the key. This is a convenience
  * wrapper
  *
  * @param getTModelDetail
  * @return null if not found or error
  * @throws RemoteException
  * @throws ConfigurationException
  * @throws TransportException
  */
 public tModelDetail getTModelDetail(get_tModelDetail getTModelDetail)
 {
     return this.getTModelDetail(getTModelDetail, this.getUDDINode().getApiNode());
 }
Exemplo n.º 3
0
 /**
  * Gets the details of a tModel by the key. This is a convenience
  * wrapper
  *
  * @param tModelKey
  * @return null if not found or error, otherwise the details of the
  * tModel(s)
  * @throws RemoteException
  * @throws ConfigurationException
  * @throws TransportException
  */
 public tModelDetail getTModelDetail(String tModelKey)
 {
     get_tModelDetail getTModelDetail = new get_tModelDetail();
     getTModelDetail.tModelKey = new string[] { tModelKey };
     return this.getTModelDetail(getTModelDetail);
 }
Exemplo n.º 4
0
 /// <remarks/>
 public void get_tModelDetailAsync(get_tModelDetail get_tModelDetail1, object userState)
 {
     if ((this.get_tModelDetailOperationCompleted == null))
     {
         this.get_tModelDetailOperationCompleted = new System.Threading.SendOrPostCallback(this.Onget_tModelDetailOperationCompleted);
     }
     this.InvokeAsync("get_tModelDetail", new object[] {
             get_tModelDetail1}, this.get_tModelDetailOperationCompleted, userState);
 }
Exemplo n.º 5
0
 /// <remarks/>
 public void get_tModelDetailAsync(get_tModelDetail get_tModelDetail1)
 {
     this.get_tModelDetailAsync(get_tModelDetail1, null);
 }
Exemplo n.º 6
0
 /// <remarks/>
 public System.IAsyncResult Beginget_tModelDetail(get_tModelDetail get_tModelDetail1, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("get_tModelDetail", new object[] {
             get_tModelDetail1}, callback, asyncState);
 }