Examples of UDDIClerkManager


Examples of org.apache.juddi.v3.client.config.UDDIClerkManager

    initContext();
  }
 
  private void initContext() throws NamingException, ConfigurationException {
    Properties env = new Properties();
    UDDIClerkManager manager = UDDIClientContainer.getUDDIClerkManager(managerName);
    String factoryInitial = manager.getClientConfig().getConfiguration().getString(Property.UDDI_PROXY_FACTORY_INITIAL);
    String factoryURLPkgs = manager.getClientConfig().getConfiguration().getString(Property.UDDI_PROXY_FACTORY_URL_PKS);
    String factoryNamingProvider = manager.getClientConfig().getConfiguration().getString(Property.UDDI_PROXY_PROVIDER_URL);
        if (factoryInitial!=null && factoryInitial!="") env.setProperty(Property.UDDI_PROXY_FACTORY_INITIAL, factoryInitial);
        if (factoryURLPkgs!=null && factoryURLPkgs!="") env.setProperty(Property.UDDI_PROXY_FACTORY_URL_PKS, factoryURLPkgs);
        if (factoryNamingProvider!=null && factoryNamingProvider!="") env.setProperty(Property.UDDI_PROXY_PROVIDER_URL, factoryNamingProvider);
      logger.debug("Initial Context using env=" + env.toString());
      context = new InitialContext(env);
View Full Code Here

Examples of org.apache.juddi.v3.client.config.UDDIClerkManager

  public UDDIInquiryPortType getUDDIInquiryService(String endpointURL) throws TransportException {
    if (inquiryService==null) {
      try {
        if (endpointURL==null) {
          UDDIClerkManager manager = UDDIClientContainer.getUDDIClerkManager(managerName);
          endpointURL = manager.getClientConfig().getUDDINode(nodeName).getInquiryUrl();
        }
        URI endpointURI = new URI(endpointURL);
          String service    = endpointURI.getPath();
          logger.debug("Looking up service=" + service);
          Object requestHandler = context.lookup(service);
View Full Code Here

Examples of org.apache.juddi.v3.client.config.UDDIClerkManager

 
  public UDDISecurityPortType getUDDISecurityService(String endpointURL) throws TransportException {
    if (securityService==null) {
      try {
        if (endpointURL==null) {
          UDDIClerkManager manager = UDDIClientContainer.getUDDIClerkManager(managerName);
          endpointURL = manager.getClientConfig().getUDDINode(nodeName).getSecurityUrl();
        }
        URI endpointURI = new URI(endpointURL);
          String service    = endpointURI.getPath();
          logger.debug("Looking up service=" + service);
          Object requestHandler = context.lookup(service);
View Full Code Here

Examples of org.apache.juddi.v3.client.config.UDDIClerkManager

 
  public UDDIPublicationPortType getUDDIPublishService(String endpointURL) throws TransportException {
    if (publishService==null) {
      try {
        if (endpointURL==null) {
          UDDIClerkManager manager = UDDIClientContainer.getUDDIClerkManager(managerName);
          endpointURL = manager.getClientConfig().getUDDINode(nodeName).getPublishUrl();
        }
        URI endpointURI = new URI(endpointURL);
          String service    = endpointURI.getPath();
          logger.debug("Looking up service=" + service);
          Object requestHandler = context.lookup(service);
View Full Code Here

Examples of org.apache.juddi.v3.client.config.UDDIClerkManager

 
  public UDDISubscriptionPortType getUDDISubscriptionService(String endpointURL) throws TransportException {
    if (subscriptionService==null) {
      try {
        if (endpointURL==null) {
          UDDIClerkManager manager = UDDIClientContainer.getUDDIClerkManager(managerName);
          endpointURL = manager.getClientConfig().getUDDINode(nodeName).getSubscriptionUrl();
        }
        URI endpointURI = new URI(endpointURL);
          String service    = endpointURI.getPath();
          logger.debug("Looking up service=" + service);
          Object requestHandler = context.lookup(service);
View Full Code Here

Examples of org.apache.juddi.v3.client.config.UDDIClerkManager

 
  public UDDISubscriptionListenerPortType getUDDISubscriptionListenerService(String endpointURL) throws TransportException {
    if (subscriptionListenerService==null) {
      try {
        if (endpointURL==null) {
          UDDIClerkManager manager = UDDIClientContainer.getUDDIClerkManager(managerName);
          endpointURL = manager.getClientConfig().getUDDINode(nodeName).getSubscriptionListenerUrl();
        }
        URI endpointURI = new URI(endpointURL);
          String service    = endpointURI.getPath();
          logger.debug("Looking up service=" + service);
          Object requestHandler = context.lookup(service);
View Full Code Here

Examples of org.apache.juddi.v3.client.config.UDDIClerkManager

 
  public UDDICustodyTransferPortType getUDDICustodyTransferService(String endpointURL) throws TransportException {
    if (custodyTransferService==null) {
      try {
        if (endpointURL==null) {
          UDDIClerkManager manager = UDDIClientContainer.getUDDIClerkManager(managerName);
          endpointURL = manager.getClientConfig().getUDDINode(nodeName).getCustodyTransferUrl();
        }
        URI endpointURI = new URI(endpointURL);
          String service    = endpointURI.getPath();
          logger.debug("Looking up service=" + service);
          Object requestHandler = context.lookup(service);
View Full Code Here

Examples of org.apache.juddi.v3.client.config.UDDIClerkManager

 
  public JUDDIApiPortType getJUDDIApiService(String endpointURL) throws TransportException {
    if (publisherService==null) {
      try {
        if (endpointURL==null) {
          UDDIClerkManager manager = UDDIClientContainer.getUDDIClerkManager(managerName);
          endpointURL = manager.getClientConfig().getUDDINode(nodeName).getJuddiApiUrl();
        }
        URI endpointURI = new URI(endpointURL);
          String service    = endpointURI.getPath();
          logger.debug("Looking up service=" + service);
          Object requestHandler = context.lookup(service);
View Full Code Here

Examples of org.apache.juddi.v3.client.config.UDDIClerkManager

  public UDDIInquiryPortType getUDDIInquiryService(String endpointURL) throws TransportException {

    if (inquiryService==null) {
      try {
        if (endpointURL==null)  {
          UDDIClerkManager manager = UDDIClientContainer.getUDDIClerkManager(managerName);
          endpointURL = manager.getClientConfig().getUDDINode(nodeName).getInquiryUrl();
        }
        QName qName = new QName(UDDI_V3_SERVICE_NAMESPACE, INQUIRY_SERVICE);
        Service service = Service.create(new URL(endpointURL), qName);
        inquiryService = (UDDIInquiryPortType) service.getPort(UDDIInquiryPortType.class);
      } catch (Exception e) {
View Full Code Here

Examples of org.apache.juddi.v3.client.config.UDDIClerkManager

  public UDDISecurityPortType getUDDISecurityService(String endpointURL) throws TransportException {

    if (securityService==null) {
      try {
        if (endpointURL==null)  {
          UDDIClerkManager manager = UDDIClientContainer.getUDDIClerkManager(managerName);
          endpointURL = manager.getClientConfig().getUDDINode(nodeName).getSecurityUrl();
        }
        QName qName = new QName(UDDI_V3_SERVICE_NAMESPACE, SECURITY_SERVICE);
        Service service = Service.create(new URL(endpointURL), qName);
        securityService = (UDDISecurityPortType) service.getPort(UDDISecurityPortType.class);
      } catch (Exception e) {
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.