Package org.uddi.api_v2

Examples of org.uddi.api_v2.DispositionReport


    if (businessKeyArray != null) {
      request.getBusinessKey().addAll(Arrays.asList(businessKeyArray));
    }

        DispositionReport dr = new DispositionReport();
        JAXBElement<?> o = execute(this.objectFactory.createDeleteBusiness(request), this.getPublishURI());
        if (o!=null){
          dr = (DispositionReport) o.getValue();
        }
View Full Code Here


    if (assertionArray != null) {
      request.getPublisherAssertion().addAll(Arrays.asList(assertionArray));
    }

        DispositionReport dr = new DispositionReport();
        JAXBElement<?> o = execute(this.objectFactory.createDeletePublisherAssertions(request),
            this.getPublishURI());
        if (o!=null) {
          dr = (DispositionReport) o.getValue();
        }
View Full Code Here

    if (serviceKeyArray != null) {
      request.getServiceKey().addAll(Arrays.asList(serviceKeyArray));
    }

        DispositionReport dr = new DispositionReport();
        JAXBElement<?> o = execute(this.objectFactory.createDeleteService(request),
            this.getPublishURI());
        if (o!=null) {
          dr = (DispositionReport) o.getValue();
        }
View Full Code Here

    if (tModelKeyArray != null) {
      request.getTModelKey().addAll(Arrays.asList(tModelKeyArray));
    }

        DispositionReport dr = new DispositionReport();
        JAXBElement<?> o = execute(this.objectFactory.createDeleteTModel(request),
            this.getPublishURI());
        if (o!=null) {
          dr = (DispositionReport) o.getValue();
        }
View Full Code Here

          // this child to the soap response body
          document.appendChild(element.getFirstChild());
      }
      response = document;
    } catch (Exception e) {
      DispositionReport dr = DispositionReportFaultMessage.getDispositionReport(e);
      if (dr != null) {
          JAXBMarshaller.marshallToElement(dr, "org.uddi.api_v3", element);
          document.appendChild(element.getFirstChild());
          response = document;
      } else {
View Full Code Here

      BusinessDetail  result = inquiry.getBusinessDetail(body);
      Assert.fail("No business should be found");
      System.out.println(result.getBusinessEntity().size());
    } catch (Exception e) {
      try {
        DispositionReport report = DispositionReportFaultMessage.getDispositionReport(e);
        assertNotNull(report);
        assertTrue(report.countainsErrorCode(DispositionReport.E_INVALID_KEY_PASSED));
      } catch (Exception e1) {
        Assert.fail("We only expect DispositionReportFaultMessage, not " + e1.getClass());
        logger.error(e.getMessage(), e1);
      }
    }
View Full Code Here

     
    } catch (Exception e) {
      e.printStackTrace();
    }
     
    DispositionReport dr = new DispositionReport();
    Result res = new Result();
    dr.getResult().add(res);
    return dr;
  }
View Full Code Here

      return null;
    return ResourceConfig.getGlobalMessage(errCode);
  }   

  public static final DispositionReport buildDispositionReport(int errNo) {
    DispositionReport dr = new DispositionReport();
    Result res = new Result();
    res.setErrno(errNo);
   
    ErrInfo ei = new ErrInfo();
    ei.setErrCode(lookupErrCode(errNo));
    ei.setValue(lookupErrText(errNo));
   
    res.setErrInfo(ei);
   
    dr.getResult().add(res);
       
    return dr;
  }
View Full Code Here

    } catch (Exception e) {
      log.error(e.getMessage(),e);
      throw new DispositionReportFaultMessage(e.getMessage(), null);
    }
   
    DispositionReport dr = new DispositionReport();
    Result res = new Result();
    dr.getResult().add(res);
   
    return dr;
  }
View Full Code Here

      throw new FatalErrorException(new ErrorMessage("errors.subscriptionnotifier.client"));
   
   
    new ValidateSubscriptionListener().validateNotification(body);
     
    DispositionReport dr = new DispositionReport();
    Result res = new Result();
    dr.getResult().add(res);
    return dr;
  }
View Full Code Here

TOP

Related Classes of org.uddi.api_v2.DispositionReport

Copyright © 2018 www.massapicom. 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.