Package org.apache.ws.scout.model.uddi.v2

Examples of org.apache.ws.scout.model.uddi.v2.ServiceInfo


    // However, we are sticking to v2 for now, so categorybag doesn't
    // exist under FindBinding. It is fine for now, since the incoming
    // parameter value is always null anyways -- but this may change
    // in the future.

    FindBinding request = this.objectFactory.createFindBinding();

    if (serviceKey != null) {
      request.setServiceKey(serviceKey);
    }

    if (tModelBag != null) {
      request.setTModelBag(tModelBag);
    } else {
      TModelBag tmb = this.objectFactory.createTModelBag();
      request.setTModelBag(tmb);
    }

    if (findQualifiers != null) {
      request.setFindQualifiers(findQualifiers);
    }
    request.setMaxRows(maxRows);

        BindingDetail bd;
        JAXBElement<?> o = execute(this.objectFactory.createFindBinding(request),
            this.getInquiryURI());
        bd = (BindingDetail) o.getValue();
View Full Code Here


  /**
   * @exception RegistryException;
   */
  public AssertionStatusReport getAssertionStatusReport(String authInfo,
      String completionStatus) throws RegistryException {
    GetAssertionStatusReport request = this.objectFactory.createGetAssertionStatusReport();

    if (authInfo != null) {
      request.setAuthInfo(authInfo);
    }

    if (completionStatus != null) {
      request.setCompletionStatus(completionStatus);
    }

        AssertionStatusReport asr;
        JAXBElement<?> o = execute(this.objectFactory.createGetAssertionStatusReport(request),
            this.getPublishURI());
View Full Code Here

   *
   * @exception RegistryException;
   */
  public AuthToken getAuthToken(String userID, String cred)
      throws RegistryException {
    GetAuthToken request = this.objectFactory.createGetAuthToken();

    if (userID != null) {
      request.setUserID(userID);
    }

    if (cred != null) {
      request.setCred(cred);
    }

    URI getAuthTokenURI = getSecurityURI();;
   
        AuthToken at;
View Full Code Here

   *
   * @exception RegistryException;
   */
  public BusinessDetail getBusinessDetail(String[] businessKeyArray)
      throws RegistryException {
    GetBusinessDetail request = this.objectFactory.createGetBusinessDetail();

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

        BusinessDetail bd;
        JAXBElement<?> o = execute(this.objectFactory.createGetBusinessDetail(request),
            this.getInquiryURI());
View Full Code Here

  /**
   * @exception RegistryException;
   */
  public PublisherAssertions getPublisherAssertions(String authInfo)
      throws RegistryException {
    GetPublisherAssertions request = this.objectFactory.createGetPublisherAssertions();

    if (authInfo != null) {
      request.setAuthInfo(authInfo);
    }

        PublisherAssertions pa;
        JAXBElement<?> o = execute(this.objectFactory.createGetPublisherAssertions(request),
            this.getPublishURI());
View Full Code Here

  /**
   * @exception RegistryException;
   */
  public RegisteredInfo getRegisteredInfo(String authInfo)
      throws RegistryException {
    GetRegisteredInfo request = this.objectFactory.createGetRegisteredInfo();

    if (authInfo != null) {
      request.setAuthInfo(authInfo);
    }

        RegisteredInfo ri;
        JAXBElement<?> o = execute(this.objectFactory.createGetRegisteredInfo(request),
            this.getPublishURI());
View Full Code Here

   *
   * @exception RegistryException;
   */
  public ServiceDetail getServiceDetail(String[] serviceKeyArray)
      throws RegistryException {
    GetServiceDetail request = this.objectFactory.createGetServiceDetail();

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

        ServiceDetail sd;
        JAXBElement<?> o = execute(this.objectFactory.createGetServiceDetail(request),
            this.getInquiryURI());
View Full Code Here

   *
   * @exception RegistryException;
   */
  public TModelDetail getTModelDetail(String[] tModelKeyArray)
      throws RegistryException {
    GetTModelDetail request = this.objectFactory.createGetTModelDetail();

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

        TModelDetail tmd;
        JAXBElement<?> o = execute(this.objectFactory.createGetTModelDetail(request),
            this.getInquiryURI());
View Full Code Here

        accessPoint.setValue(accessuri);
                bt.setAccessPoint(accessPoint);
            }
            ServiceBinding sb = serviceBinding.getTargetBinding();
      if (sb != null) {
        HostingRedirector red = objectFactory.createHostingRedirector();
                Key key = sb.getKey();
        if (key != null && key.getId() != null) {
          red.setBindingKey(key.getId());
                } else {
                    red.setBindingKey("");
                }
                bt.setHostingRedirector(red);
            } else {
              if (bt.getAccessPoint() == null) {
                bt.setAccessPoint(objectFactory.createAccessPoint());
View Full Code Here

      InternationalString idesc = classificationScheme.getDescription();
     
        addDescriptions(tm.getDescription(), idesc);

            IdentifierBag idBag = getIdentifierBagFromExternalIdentifiers(classificationScheme.getExternalIdentifiers());
            if (idBag!=null) {
                tm.setIdentifierBag(idBag);
            }
            CategoryBag catBag = getCategoryBagFromClassifications(classificationScheme.getClassifications());
            if (catBag!=null) {
View Full Code Here

TOP

Related Classes of org.apache.ws.scout.model.uddi.v2.ServiceInfo

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.