Hi Devs,
Axis2 throws exceptions when the specified transport of a service is not
available. And the service becomes faulty as well. If this service has
specified multiple transports and these other transports are available,
Axis2 should expose the service in other transports, without simply failing
the deployment.
e.g 1. Service Foo has specified http and https transports.
<transports>
<transport>https</transport>
<transport>http</transport>
</transports>
Now We configured Axis2 only with Http transport. When we deploy the
service Foo in Axis2, the default behavior of Axis2 is to fail the service
deployment saying "Https transport is not available.". But my suggestion
is, we should deploy the service Foo in Http transport and display a WARN
message to notify that this service will not be exposed in Https.
e.g 2. Service Bar has specified https and jms transports.
<transports>
<transport>https</transport>
<transport>jms</transport>
</transports>
We configured Axis2 only with Http transport. Now this service cannot be
exposed in either Https or jms. Hence Axis2 should fail the deployment of
the service Bar.
Thanks,
Sameera.
[1] https://issues.apache.org/jira/browse/AXIS2-5234