Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-257

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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()); }

        Attachments

        1. ODE-257.patch
          0.9 kB
          Alexey Ousov

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: