Examples of SetPublisherAssertions


Examples of org.uddi.api_v2.SetPublisherAssertions

   }

   @Override
   public void setPublisherAssertions(String authInfo, Holder<List<PublisherAssertion>> publisherAssertion) throws DispositionReportFaultMessage, RemoteException {
      try {
         SetPublisherAssertions req = MapUDDIv3Tov2.MapSetPublisherAssertions(publisherAssertion.value);
         req.setAuthInfo(authInfo);
         PublisherAssertions setPublisherAssertions = publishService.setPublisherAssertions(req);
         publisherAssertion.value = MapUDDIv2Tov3.MapListPublisherAssertion(setPublisherAssertions);

      } catch (DispositionReport ex) {
         throw MapUDDIv2Tov3.MapException(ex);
View Full Code Here

Examples of org.uddi.api_v3.SetPublisherAssertions

        }
        if (method.equalsIgnoreCase("saveService")) {
            JAXB.marshal(new SaveService(), sw);
        }
        if (method.equalsIgnoreCase("setPublisherAssertions")) {
            JAXB.marshal(new SetPublisherAssertions(), sw);
        }
        return PrettyPrintXML(sw.toString());
    }
View Full Code Here

Examples of org.uddi.api_v3.SetPublisherAssertions

  /**
   * @exception RegistryV3Exception;
   */
  public PublisherAssertions setPublisherAssertions(String authInfo,
      PublisherAssertion[] assertionArray) throws RegistryV3Exception {
    SetPublisherAssertions request = this.objectFactory.createSetPublisherAssertions();

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

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

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

Examples of org.uddi.api_v3.SetPublisherAssertions

          result = method.invoke(portType, getAssertionStatusReport.getAuthInfo(), getAssertionStatusReport.getCompletionStatus());
          AssertionStatusReport assertionStatusReport = new AssertionStatusReport();
          assertionStatusReport.getAssertionStatusItem().addAll((List<AssertionStatusItem>)result);
          result = assertionStatusReport;
      } else if (operationClass.equals(SetPublisherAssertions.class)) {
          SetPublisherAssertions setPublisherAssertions = (SetPublisherAssertions) uddiReqObj;
          Method method = portType.getClass().getMethod(methodName, String.class, Holder.class);
          Holder<List<PublisherAssertion>> holder = new Holder<List<PublisherAssertion>>(setPublisherAssertions.getPublisherAssertion());
          result = method.invoke(portType, setPublisherAssertions.getAuthInfo(), holder);
          PublisherAssertions assertions = new PublisherAssertions();
          if (holder.value!=null) {
              assertions.getPublisherAssertion().addAll(holder.value);
          }
          result = assertions;
View Full Code Here

Examples of org.uddi.api_v3.SetPublisherAssertions

                                result = method.invoke(portType, getAssertionStatusReport.getAuthInfo(), getAssertionStatusReport.getCompletionStatus());
                                AssertionStatusReport assertionStatusReport = new AssertionStatusReport();
                                assertionStatusReport.getAssertionStatusItem().addAll((List<AssertionStatusItem>) result);
                                result = assertionStatusReport;
                        } else if (operationClass.equals(SetPublisherAssertions.class)) {
                                SetPublisherAssertions setPublisherAssertions = (SetPublisherAssertions) uddiReqObj;
                                Method method = portType.getClass().getMethod(methodName, String.class, Holder.class);
                                Holder<List<PublisherAssertion>> holder = new Holder<List<PublisherAssertion>>(setPublisherAssertions.getPublisherAssertion());
                                result = method.invoke(portType, setPublisherAssertions.getAuthInfo(), holder);
                                PublisherAssertions assertions = new PublisherAssertions();
                                if (holder.value != null) {
                                        assertions.getPublisherAssertion().addAll(holder.value);
                                }
                                result = assertions;
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.