Package org.apache.ws.scout.uddi

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


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

        PublisherAssertions pa;
        XmlObject o = execute(doc, this.getPublishURI()).changeType(
                PublisherAssertionsDocument.type);
        pa = ((PublisherAssertionsDocument) o).getPublisherAssertions();

        return pa;
View Full Code Here


    if (assertionArray != null) {
      request.setPublisherAssertionArray(assertionArray);
    }

        PublisherAssertions pa;
        XmlObject o = execute(doc, this.getPublishURI()).changeType(
                PublisherAssertionsDocument.type);
        pa = ((PublisherAssertionsDocument) o).getPublisherAssertions();

        return pa;
View Full Code Here

        IRegistry registry = registryService.getRegistry();
        try
        {
            ConnectionImpl con = ((RegistryServiceImpl)getRegistryService()).getConnection();
            AuthToken auth = this.getAuthToken(con,registry);
            PublisherAssertions result =
                    registry.getPublisherAssertions(auth.getAuthInfo());
            PublisherAssertion[] a = result.getPublisherAssertionArray();

            LinkedHashSet<Association> col = null;
            int len = 0;
            if (a != null)
            {
View Full Code Here

                PublisherAssertion pa = ScoutJaxrUddiHelper.getPubAssertionFromJAXRAssociation(association);
                sarr[currLoc] = pa;
                currLoc++;
           
                // Save PublisherAssertion
                PublisherAssertions bd = null;
                try {
                    bd = (PublisherAssertions) executeOperation(sarr, "SAVE_ASSOCIATION");
                }
                catch (RegistryException e) {
                    exceptions.add(new SaveException(e));
                    bulk.setExceptions(exceptions);
                    bulk.setStatus(JAXRResponse.STATUS_FAILURE);
                    return bulk;
                }
                if(bd != null)
                {
                  PublisherAssertion[] keyarr = bd.getPublisherAssertionArray();
                  for (int i = 0; keyarr != null && i < keyarr.length; i++) {
                    PublisherAssertion result = (PublisherAssertion) keyarr[i];
                        KeyedReference keyr = result.getKeyedReference();
                        Concept c = new ConceptImpl(getRegistryService().getBusinessLifeCycleManager());
                        c.setName(new InternationalStringImpl(keyr.getKeyName()));
View Full Code Here

TOP

Related Classes of org.apache.ws.scout.uddi.PublisherAssertions

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.