Examples of WSDDDocument


Examples of org.apache.axis.deployment.wsdd.WSDDDocument

  private void deployWSDD(String sdoc) {
    try {
      WSDDEngineConfiguration config = (WSDDEngineConfiguration) axisServer.getConfig();
      WSDDDeployment deployment = config.getDeployment();
      WSDDDocument doc = new WSDDDocument(XMLUtils.newDocument(new ByteArrayInputStream(sdoc.getBytes())));

      doc.deploy(deployment);
      axisServer.refreshGlobalOptions();
    } catch (Exception e) {
      log.error("ObjectSOAPService::deployWSDD() exception", e);
    }
  }
View Full Code Here

Examples of org.apache.axis.deployment.wsdd.WSDDDocument

                                                                   sfilter);

            serviceObject = bContext.getService(srs[0]);
            String addDoc = deploymentWSDD(serviceWSDD(serviceName,
                                                       serviceObject.getClass().getName()));
            WSDDDocument doc = new WSDDDocument(XMLUtils.newDocument(new ByteArrayInputStream(addDoc.getBytes())));

            doc.deploy(deployment);
            msgContext.getAxisEngine().refreshGlobalOptions();
            deployment = config.getDeployment();
            ws = findService(deployment, serviceName);
            service = deployment.getService(ws.getQName());
//            service.setOption("scope", Scope.APPLICATION_STR);
View Full Code Here

Examples of org.apache.axis.deployment.wsdd.WSDDDocument

        InputStream resourceStream = resourceClass.getResourceAsStream(resourceName);
        if (resourceStream == null)
          throw new ConfigurationException("Resource not found: '"+resourceName+"'");
        try
        {
          WSDDDocument doc = new WSDDDocument(XMLUtils.newDocument(resourceStream));
          deployment = doc.getDeployment();

          deployment.configureEngine(engine);
          engine.refreshGlobalOptions();
        }
        finally
View Full Code Here

Examples of org.apache.axis.deployment.wsdd.WSDDDocument

        InputStream resourceStream = resourceClass.getResourceAsStream(resourceName);
        if (resourceStream == null)
          throw new ConfigurationException("Resource not found: '"+resourceName+"'");
        try
        {
          WSDDDocument doc = new WSDDDocument(XMLUtils.newDocument(resourceStream));
          deployment = doc.getDeployment();

          deployment.configureEngine(engine);
          engine.refreshGlobalOptions();
        }
        finally
View Full Code Here

Examples of org.apache.axis.deployment.wsdd.WSDDDocument

        InputStream resourceStream = resourceClass.getResourceAsStream(resourceName);
        if (resourceStream == null)
          throw new ConfigurationException("Resource not found: '"+resourceName+"'");
        try
        {
          WSDDDocument doc = new WSDDDocument(XMLUtils.newDocument(resourceStream));
          deployment = doc.getDeployment();

          deployment.configureEngine(engine);
          engine.refreshGlobalOptions();
        }
        finally
View Full Code Here

Examples of org.apache.axis.deployment.wsdd.WSDDDocument

        InputStream resourceStream = resourceClass.getResourceAsStream(resourceName);
        if (resourceStream == null)
          throw new ConfigurationException("Resource not found: '"+resourceName+"'");
        try
        {
          WSDDDocument doc = new WSDDDocument(XMLUtils.newDocument(resourceStream));
          deployment = doc.getDeployment();

          deployment.configureEngine(engine);
          engine.refreshGlobalOptions();
        }
        finally
View Full Code Here

Examples of org.apache.axis.deployment.wsdd.WSDDDocument

        if (action.equals("clientdeploy")) {
            // set engine to client engine
            engine = engine.getClientEngine();
        }

        WSDDDocument wsddDoc = new WSDDDocument(root);
        EngineConfiguration config = engine.getConfig();
        if (config instanceof WSDDEngineConfiguration) {
            WSDDDeployment deployment =
                ((WSDDEngineConfiguration)config).getDeployment();
            wsddDoc.deploy(deployment);
        }
        engine.refreshGlobalOptions();

        engine.saveConfiguration();
View Full Code Here

Examples of org.apache.axis.deployment.wsdd.WSDDDocument

            if (getInputStream() == null) {
                throw new ConfigurationException(
                        Messages.getMessage("noConfigFile"));
            }

            WSDDDocument doc = new WSDDDocument(XMLUtils.
                                                newDocument(getInputStream()));
            deployment = doc.getDeployment();

            deployment.configureEngine(engine);
            engine.refreshGlobalOptions();

            setInputStream(null);
View Full Code Here

Examples of org.apache.axis.deployment.wsdd.WSDDDocument

        if (action.equals("clientdeploy")) {
            // set engine to client engine
            engine = engine.getClientEngine();
        }

        WSDDDocument wsddDoc = new WSDDDocument(root);
        EngineConfiguration config = engine.getConfig();
        if (config instanceof WSDDEngineConfiguration) {
            WSDDDeployment deployment =
                ((WSDDEngineConfiguration)config).getDeployment();
            wsddDoc.deploy(deployment);
        }
        engine.refreshGlobalOptions();

        engine.saveConfiguration();
View Full Code Here

Examples of org.apache.axis.deployment.wsdd.WSDDDocument

            if (myInputStream == null) {
                throw new ConfigurationException(
                        JavaUtils.getMessage("noConfigFile"));
            }

            WSDDDocument doc = new WSDDDocument(XMLUtils.
                                                newDocument(myInputStream));
            deployment = doc.getDeployment();

            deployment.configureEngine(engine);
            engine.refreshGlobalOptions();

            myInputStream = null;
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.