Examples of PlanetsServiceExplorer


Examples of eu.planets_project.ifr.core.servreg.utils.PlanetsServiceExplorer

    if (this._externalUrl.toLowerCase().indexOf(ExternalEndpointBackingBean.WSDL_QUERY) == -1)
      this._externalUrl += ExternalEndpointBackingBean.WSDL_QUERY;
    ExternalEndpointBackingBean.log.info("ExternalURL->" + this._externalUrl);
    try {
      URI externalURI = new URI(this._externalUrl);
      PlanetsServiceExplorer pse = new PlanetsServiceExplorer(externalURI.toURL());
      // Lets see if we can get a service description
      this._desc = DiscoveryUtils.getServiceDescription(externalURI.toURL());
      if (this._desc == null)
      {
        this._endpoint = new PlanetsServiceEndpoint(pse);
View Full Code Here

Examples of eu.planets_project.ifr.core.servreg.utils.PlanetsServiceExplorer

    }
   
    private ServiceDescription getCurrentServiceDescription() {
        // Check if the current service description is up to date:
        try {
            PlanetsServiceExplorer pse = new PlanetsServiceExplorer( this.getDescription().getEndpoint() );
            // It seems we have to use toXML and a fromXML constructor in order to replicate the way the registry deals with whitespace!
            return new ServiceDescription.Builder(
                    pse.getServiceDescription().toXml() ).endpoint( this.getDescription().getEndpoint() ).build();
        } catch( Exception e ) {
            log.severe("Could not check service description for: "+this.getDescription().getEndpoint());
            return null;
        }
    }
View Full Code Here

Examples of eu.planets_project.ifr.core.servreg.utils.PlanetsServiceExplorer

          log.info("Service registered->" + location);
          continue;
        }

        // Let's see if it's an unregistered Planets service
        PlanetsServiceExplorer pse = new PlanetsServiceExplorer(location.toURL());
        // we only want the planets services
        if ((null != pse.getServiceClass()) && (null != pse.getQName())) {
          // Add the endpoint to the list and the category
          PlanetsServiceEndpoint _endpoint = new PlanetsServiceEndpoint(pse);
          this._endpoints.add(_endpoint);
          _cats.add(_endpoint.getCategory());
        }
View Full Code Here

Examples of eu.planets_project.ifr.core.servreg.utils.PlanetsServiceExplorer

     * @param wsdlLocation
     * @param serviceName
     */
    private MigrateWrapper(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
        this.pse = new PlanetsServiceExplorer(wsdlLocation);
        init();
    }
View Full Code Here

Examples of eu.planets_project.ifr.core.servreg.utils.PlanetsServiceExplorer

   
    /**
     * @param wsdl The WSDL to wrap as a service.
     */
    public CreateViewWrapper( URL wsdl ) {
        this.pse = new PlanetsServiceExplorer(wsdl);
        this.init();
    }
View Full Code Here

Examples of eu.planets_project.ifr.core.servreg.utils.PlanetsServiceExplorer

   
    /**
     * @param wsdl The WSDL to wrap as a service.
     */
    public IdentifyWrapper( URL wsdl ) {
        this.pse = new PlanetsServiceExplorer(wsdl);
        this.init();
    }
View Full Code Here

Examples of eu.planets_project.ifr.core.servreg.utils.PlanetsServiceExplorer

   
    /**
     * @param wsdl The WSDL to wrap as a service.
     */
    public ComparePropertiesWrapper( URL wsdl ) {
        this.pse = new PlanetsServiceExplorer(wsdl);
        this.init();
    }
View Full Code Here

Examples of eu.planets_project.ifr.core.servreg.utils.PlanetsServiceExplorer

   
    /**
     * @param wsdl The WSDL to wrap as a service.
     */
    public CharacteriseWrapper( URL wsdl ) {
        this.pse = new PlanetsServiceExplorer(wsdl);
        this.init();
    }
View Full Code Here

Examples of eu.planets_project.ifr.core.servreg.utils.PlanetsServiceExplorer

   
    /**
     * @param wsdl The WSDL to wrap as a service.
     */
    public CompareWrapper( URL wsdl ) {
        this.pse = new PlanetsServiceExplorer(wsdl);
        this.init();
    }
View Full Code Here

Examples of eu.planets_project.tb.impl.services.util.PlanetsServiceExplorer

   
    /**
     * @param wsdl The WSDL to wrap as a service.
     */
    public MigrateWrapper( URL wsdl ) {
        this.pse = new PlanetsServiceExplorer(wsdl);
        this.init();
    }
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.