public void xr_find_relatedBusinesses()
 {
     Console.Out.WriteLine("serialization xr_find_relatedBusinesses");
     find_relatedBusinesses r = new find_relatedBusinesses();
     XmlSerializer xr = new XmlSerializer(typeof(find_relatedBusinesses));
     StringWriter sw = new StringWriter();
     xr.Serialize(sw, r);
     System.Console.Out.WriteLine(sw.ToString());
 }
Beispiel #2
0
        /**
        * Looks up the BusinessEntity in the registry for "related" businesses.
        * This means that there is a business relationship defined. This is
        * also referred to as a "Publisher Assertion",
        *
        * @see PublisherAssertion
        * @see PublisherAssertions
        * @param businessKey - the key we are looking for
        * @param node - the node which is going to be queried
        * @return BusinessEntity is found, or null if not found.
        * @throws RemoteException
        * @throws TransportException
        * @throws ConfigurationException
        */
        public relatedBusinessesList findRelatedBusinesses(String businessKey, org.apache.juddi.apiv3.node node)
        {
            find_relatedBusinesses findRelatedBusinesses = new find_relatedBusinesses();
            findRelatedBusinesses.Item = (businessKey);
            findRelatedBusinesses.authInfo = (node.securityUrl);
            try
            {
                relatedBusinessesList rbl = getUDDINode().getTransport().getUDDIInquiryService(node.inquiryUrl).find_relatedBusinesses(findRelatedBusinesses);
                return rbl;
            }
            catch (Exception dr)
            {
                log.error("", dr);
                //DispositionReport report = DispositionReportFaultMessage.getDispositionReport(dr);
                //checkForErrorInDispositionReport(report, DispositionReport.E_INVALID_KEY_PASSED, businessKey);
            }

            return null;
        }
Beispiel #3
0
 /// <remarks/>
 public void find_relatedBusinessesAsync(find_relatedBusinesses find_relatedBusinesses1)
 {
     this.find_relatedBusinessesAsync(find_relatedBusinesses1, null);
 }
Beispiel #4
0
 /// <remarks/>
 public void find_relatedBusinessesAsync(find_relatedBusinesses find_relatedBusinesses1, object userState)
 {
     if ((this.find_relatedBusinessesOperationCompleted == null))
     {
         this.find_relatedBusinessesOperationCompleted = new System.Threading.SendOrPostCallback(this.Onfind_relatedBusinessesOperationCompleted);
     }
     this.InvokeAsync("find_relatedBusinesses", new object[] {
             find_relatedBusinesses1}, this.find_relatedBusinessesOperationCompleted, userState);
 }
Beispiel #5
0
 /// <remarks/>
 public System.IAsyncResult Beginfind_relatedBusinesses(find_relatedBusinesses find_relatedBusinesses1, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("find_relatedBusinesses", new object[] {
             find_relatedBusinesses1}, callback, asyncState);
 }