ODE
  1. ODE
  2. ODE-257

Deploying BPEL service along with axis2 configuration file doesn't work

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1, 1.1.1, 1.2
    • Fix Version/s: 1.2
    • Component/s: Axis2 Integration
    • Labels:
      None
    • Environment:
      Windows XP Pro, JDK 1.5.0.07, Oracle 10g XE, Apache Tomcat 5.5.25, OpenJPA

      Description

      There is a new feature introduced in ODE-185 - deploying axis2 service configuration file along with *.par process archive, named *.axis2. But this feature is not working correctly because *.wsdl file is passed to axis2 configurator instead of *.axis2 file.

      this:
      InputStream ais = axis2config.toURL().openStream();
      if (ais != null)

      { LOG.debug("Configuring service using: "+axis2config.toURL()); ConfigurationContext configCtx = new ConfigurationContext(axisConfig); ServiceBuilder builder = new ServiceBuilder(is, configCtx, axisService); builder.populateService(builder.buildOM()); }

      should be changed to:
      InputStream ais = axis2config.toURL().openStream();
      if (ais != null)

      { LOG.debug("Configuring service using: "+axis2config.toURL()); ConfigurationContext configCtx = new ConfigurationContext(axisConfig); ServiceBuilder builder = new ServiceBuilder(ais, configCtx, axisService); builder.populateService(builder.buildOM()); }
      1. ODE-257.patch
        0.9 kB
        Alexey Ousov

        Activity

        Alexey Ousov created issue -
        Alexey Ousov made changes -
        Field Original Value New Value
        Description There is a new feature introduced in ODE-185 (http://issues.apache.org/jira/browse/ODE-185) - deploying axis2 service configuration file along with *.par process archive, named *.axis2. But this feature is not working correctly because *.wsdl file is passed to axis2 configurator instead of *.axis2 file.

        this:
                        InputStream ais = axis2config.toURL().openStream();
                        if (ais != null) {
                            LOG.debug("Configuring service using: "+axis2config.toURL());
                            ConfigurationContext configCtx = new ConfigurationContext(axisConfig);
                            ServiceBuilder builder = new ServiceBuilder(is, configCtx, axisService);
                            builder.populateService(builder.buildOM());
                        }
        should be changed to:
                        InputStream ais = axis2config.toURL().openStream();
                        if (ais != null) {
                            LOG.debug("Configuring service using: "+axis2config.toURL());
                            ConfigurationContext configCtx = new ConfigurationContext(axisConfig);
                            ServiceBuilder builder = new ServiceBuilder(ais, configCtx, axisService);
                            builder.populateService(builder.buildOM());
                        }
        There is a new feature introduced in ODE-185 - deploying axis2 service configuration file along with *.par process archive, named *.axis2. But this feature is not working correctly because *.wsdl file is passed to axis2 configurator instead of *.axis2 file.

        this:
                        InputStream ais = axis2config.toURL().openStream();
                        if (ais != null) {
                            LOG.debug("Configuring service using: "+axis2config.toURL());
                            ConfigurationContext configCtx = new ConfigurationContext(axisConfig);
                            ServiceBuilder builder = new ServiceBuilder(is, configCtx, axisService);
                            builder.populateService(builder.buildOM());
                        }
        should be changed to:
                        InputStream ais = axis2config.toURL().openStream();
                        if (ais != null) {
                            LOG.debug("Configuring service using: "+axis2config.toURL());
                            ConfigurationContext configCtx = new ConfigurationContext(axisConfig);
                            ServiceBuilder builder = new ServiceBuilder(ais, configCtx, axisService);
                            builder.populateService(builder.buildOM());
                        }
        Alexey Ousov made changes -
        Attachment ODE-257.patch [ 12379110 ]
        Matthieu Riou made changes -
        Assignee Matthieu Riou [ mriou ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]

          People

          • Assignee:
            Matthieu Riou
            Reporter:
            Alexey Ousov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development