Sagara
1. Restrict transport protocols in axis2.xml file by using
<transport>https</transport> element.
2. Configure the transportReceiver for the certificate
<transportReceiver name="https"
class="org.apache.axis2.transport.nhttp.HttpCoreNIOSSLListener">
...
with these settings application deployed well but in WSDL endpoint
address for HTTPS binding not generated correctly instead of
"server:port/contextroot " it has "null" value . as a example (
*PayfoneService *is the service name )
<wsdl:port name="PayfoneServiceHttpsSoap12Endpoint"
binding="ns:PayfoneServiceSoap12Binding">
* <soap12:address
location="nullPayfoneService.PayfoneServiceHttpsSoap12Endpoint"/>*
</wsdl:port>
<wsdl:port name="PayfoneServiceHttpsEndpoint"
binding="ns:PayfoneServiceHttpBinding">
* <http:address
location="nullPayfoneService.PayfoneServiceHttpsEndpoint"/>*
</wsdl:port>
Is there any way to solve this problem ...?
What you have achieved is not https using the JBoss container.. You
should simply be able to deploy Axis2 on JBoss and use it over http/s
like with Tomcat.. The org.apache.axis2.transport.nhttp transport is
deprecated for Axis2, and is now only maintained as
org.apache.synapse.transport.nhttp and if you really want to use it, I
suggest that you try the latest version (1.2) from here [1].. which is
compatible with Axis2 1.4.x
[1]
http://repo2.maven.org/maven2/org/apache/synapse/synapse-transports/1.2/synapse-transports-1.2.jar
asankha
--
Asankha C. Perera
http://adroitlogic.org
http://esbmagic.blogspot.com