Examples of RegistryException


Examples of org.apache.juddi.error.RegistryException

      if ((publisherID != null) && (serviceKey != null) && (connection != null))
        return BusinessServiceTable.verifyOwnership(serviceKey,publisherID,connection);
    }
    catch(java.sql.SQLException sqlex)
    {
      throw new RegistryException(sqlex);
    }

    // default to false
    return false;
  }
View Full Code Here

Examples of org.apache.juddi.error.RegistryException

        }
      }
    }
    catch(java.sql.SQLException sqlex)
    {
      throw new RegistryException(sqlex);
    }
  }
View Full Code Here

Examples of org.apache.juddi.error.RegistryException

        }
      }
    }
    catch(java.sql.SQLException sqlex)
    {
      throw new RegistryException(sqlex);
    }

    return binding;
  }
View Full Code Here

Examples of org.apache.juddi.error.RegistryException

        BindingTemplateTable.delete(bindingKey,connection);
      }
    }
    catch(java.sql.SQLException sqlex)
    {
      throw new RegistryException(sqlex);
    }
  }
View Full Code Here

Examples of org.apache.juddi.error.RegistryException

        }
      }
    }
    catch(java.sql.SQLException sqlex)
    {
      throw new RegistryException(sqlex);
    }

    return bindingList;
  }
View Full Code Here

Examples of org.apache.ws.scout.registry.RegistryException

      try {
        Message msg = call.getResponseMessage();
        response = msg.getSOAPEnvelope().getFirstBody().getAsDOM();
      }
      catch (Exception ex) {
        throw new RegistryException(ex);
      }
    }
    catch (Exception ex) {
      throw new RegistryException(ex);
    }

    if (log.isDebugEnabled()) {
        log.debug("\nResponse message:\n" + XMLUtils.ElementToString(response));
    }
View Full Code Here

Examples of org.codehaus.plexus.registry.RegistryException

        if ( !writeFile( "user configuration", userConfigFilename, contents ) )
        {
            fileLocation = altConfigFilename;
            if ( !writeFile( "alternative configuration", altConfigFilename, contents ) )
            {
                throw new RegistryException(
                    "Unable to create configuration file in either user [" + userConfigFilename + "] or alternative ["
                        + altConfigFilename
                        + "] locations on disk, usually happens when not allowed to write to those locations." );
            }
        }
View Full Code Here

Examples of org.jboss.soa.esb.services.registry.RegistryException

            {
                timeout = true ;
            }
            catch (final InterruptedException ie)
            {
                throw new RegistryException("Interrupted", ie) ;
            }
            catch (final BrokenBarrierException bbe)
            {
                throw new RegistryException("Broken barrier", bbe) ;
            }
        }
        return registry.findEPRs(serviceCategoryName, serviceName) ;
    }
View Full Code Here

Examples of org.mule.registry.RegistryException

    com.sun.java.xml.ns.jbi.ComponentDocument.Component.SharedLibrary[] libs = jbi.getComponent().getSharedLibraryArray();
    for (int i = 0; i < libs.length; i++) {
      String libName = libs[i].getDomNode().getFirstChild().getNodeValue();
      Library library = getRegistry().getLibrary(libName);
      if (library == null) {
        throw new RegistryException("Component requires a missing shared library: " + libName);
      }
      library.addComponent(this);
    }

        // Get class path elements
View Full Code Here

Examples of org.wso2.carbon.registry.core.exceptions.RegistryException

        try {
            wsdlElement = buildOMElement(new String(wsdlContentBytes));
        } catch (Exception e) {
            String msg = "Error in building the wsdl element for path: " + wsdlPath + ".";
            log.error(msg, e);
            throw new RegistryException(msg, e);
        }
        // saving soap11 endpoints
        List<OMElement> soap11Elements;
        try {
            soap11Elements =  evaluateXPathToElements(SOAP11_ENDPOINT_EXPR, wsdlElement);
        } catch (Exception e) {
            String msg = "Error in evaluating xpath expressions to extract endpoints, wsdl path: " + wsdlPath + ".";
            log.error(msg, e);
            throw new RegistryException(msg, e);
        }
        for (OMElement soap11Element: soap11Elements) {
            String locationUrl = soap11Element.getAttributeValue(new QName(LOCATION_ATTR));
            Map<String, String> properties = new HashMap<String, String>();
            properties.put(CommonConstants.SOAP11_ENDPOINT_ATTRIBUTE, "true");
            saveEndpoint(registry, locationUrl, wsdlPath, properties, systemRegistry);
        }

        // saving soap12 endpoints
        List<OMElement> soap12Elements;
        try {
            soap12Elements =  evaluateXPathToElements(SOAP12_ENDPOINT_EXPR, wsdlElement);
        } catch (Exception e) {
            String msg = "Error in evaluating xpath expressions to extract endpoints, wsdl path: " + wsdlPath + ".";
            log.error(msg, e);
            throw new RegistryException(msg, e);
        }
        for (OMElement soap12Element: soap12Elements) {
            String locationUrl = soap12Element.getAttributeValue(new QName(LOCATION_ATTR));
            Map<String, String> properties = new HashMap<String, String>();
            properties.put(CommonConstants.SOAP12_ENDPOINT_ATTRIBUTE, "true");
            saveEndpoint(registry, locationUrl, wsdlPath, properties, systemRegistry);
        }

        // saving http endpoints
        List<OMElement> httpElements;
        try {
            httpElements =  evaluateXPathToElements(HTTP_ENDPOINT_EXPR, wsdlElement);
        } catch (Exception e) {
            String msg = "Error in evaluating xpath expressions to extract endpoints, wsdl path: " + wsdlPath + ".";
            log.error(msg, e);
            throw new RegistryException(msg, e);
        }
        for (OMElement httpElement: httpElements) {
            String locationUrl = httpElement.getAttributeValue(new QName(LOCATION_ATTR));
            Map<String, String> properties = new HashMap<String, String>();
            properties.put(CommonConstants.HTTP_ENDPOINT_ATTRIBUTE, "true");
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.