Examples of GetPublisherAssertions


Examples of org.apache.juddi.datatype.request.GetPublisherAssertions

    this.maker = maker;
  }

  public RegistryObject unmarshal(Element element)
  {
    GetPublisherAssertions obj = new GetPublisherAssertions();
    Vector nodeList = null;
    AbstractHandler handler = null;

    // Attributes
    String generic = element.getAttribute("generic");
    if ((generic != null && (generic.trim().length() > 0)))
      obj.setGeneric(generic);

    // Text Node Value
    // {none}

    // Child Elements
    nodeList = XMLUtils.getChildElementsByTagName(element,AuthInfoHandler.TAG_NAME);
    if (nodeList.size() > 0)
    {
      handler = maker.lookup(AuthInfoHandler.TAG_NAME);
      obj.setAuthInfo((AuthInfo)handler.unmarshal((Element)nodeList.elementAt(0)));
    }

    return obj;
  }
View Full Code Here

Examples of org.apache.juddi.datatype.request.GetPublisherAssertions

    return obj;
  }

  public void marshal(RegistryObject object,Element parent)
  {
    GetPublisherAssertions request = (GetPublisherAssertions)object;
    Element element = parent.getOwnerDocument().createElement(TAG_NAME);
    AbstractHandler handler = null;

    String generic = request.getGeneric();
    if (generic != null)
      element.setAttribute("generic",generic);

    AuthInfo authInfo = request.getAuthInfo();
    if (authInfo != null)
    {
      handler = maker.lookup(AuthInfoHandler.TAG_NAME);
      handler.marshal(authInfo,element);
    }
View Full Code Here

Examples of org.apache.juddi.datatype.request.GetPublisherAssertions

    Element child = null;

    AuthInfo authInfo = new AuthInfo();
    authInfo.setValue("6f157513-844e-4a95-a856-d257e6ba9726");

    GetPublisherAssertions service = new GetPublisherAssertions();
    service.setAuthInfo(authInfo);

    System.out.println();

    RegistryObject regObject = service;
    handler.marshal(regObject,parent);
View Full Code Here

Examples of org.apache.juddi.datatype.request.GetPublisherAssertions

   * @exception RegistryException;
   */
  public PublisherAssertions getPublisherAssertions(AuthInfo authInfo)
    throws RegistryException
  {
    GetPublisherAssertions request = new GetPublisherAssertions();
    request.setAuthInfo(authInfo);

    return (PublisherAssertions)execute(request);
  }
View Full Code Here

Examples of org.apache.juddi.datatype.request.GetPublisherAssertions

  private RegistryObject getRegistryObject()
  {
    AuthInfo authInfo = new AuthInfo();
    authInfo.setValue("6f157513-844e-4a95-a856-d257e6ba9726");

    GetPublisherAssertions object = new GetPublisherAssertions();
    object.setAuthInfo(authInfo);

    return object;

  }
View Full Code Here

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

  /**
   * @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

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

  /**
   * @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

Examples of org.apache.ws.scout.uddi.GetPublisherAssertions

   */
  public PublisherAssertions getPublisherAssertions(String authInfo)
      throws RegistryException {
    GetPublisherAssertionsDocument doc = GetPublisherAssertionsDocument.Factory
        .newInstance();
    GetPublisherAssertions request = doc.addNewGetPublisherAssertions();

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

        PublisherAssertions pa;
        XmlObject o = execute(doc, this.getPublishURI()).changeType(
                PublisherAssertionsDocument.type);
View Full Code Here

Examples of org.uddi.api_v2.GetPublisherAssertions

                r.getTModel().addAll(MapTModelList(body.getTModel()));
                return r;
        }
       
        public static GetPublisherAssertions MapGetPublisherAssertions(String authInfo) {
                GetPublisherAssertions r = new GetPublisherAssertions();
                r.setAuthInfo(authInfo);
                r.setGeneric(VERSION);
               
                return r;
        }
View Full Code Here

Examples of org.uddi.api_v3.GetPublisherAssertions

        }
        if (method.equalsIgnoreCase("getAssertionStatusReport")) {
            JAXB.marshal(new GetAssertionStatusReport(), sw);
        }
        if (method.equalsIgnoreCase("getPublisherAssertions")) {
            JAXB.marshal(new GetPublisherAssertions(), sw);
        }
        if (method.equalsIgnoreCase("getRegisteredInfo")) {
            JAXB.marshal(new GetRegisteredInfo(), sw);
        }
        if (method.equalsIgnoreCase("saveBinding")) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.