Deploying BPEL service along with axis2 configuration file doesn't work
-----------------------------------------------------------------------
Key: ODE-257
URL: https://issues.apache.org/jira/browse/ODE-257
Project: ODE
Issue Type: Bug
Components: Axis2 Integration
Affects Versions: 1.1.1, 1.1, 1.2
Environment: Windows XP Pro, JDK 1.5.0.07, Oracle 10g XE, Apache
Tomcat 5.5.25, OpenJPA
Reporter: Alexey Ousov
Fix For: 1.2
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());
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.