I have SSL connector (port 8443) defined for my jboss application server. In server\default\deploy\jbossweb-tomcat55.sar\server.xml, I added:
<Connector port="8443" address="${jboss.bind.address}" maxThreads="100" strategy="ms" maxHttpHeaderSize="8192" emptySessionPath="true" scheme="https" secure="true" clientAuth="false" keystoreFile="conf/server.keystore" keystorePass="12345678" sslProtocol = "TLS" />
<service name="SampleService"> <port binding="tns:TrivialServiceBinding" name="TrivialServicePort"> <soap:address location="http://it-peip:8080/jbossws-samples-rpcstyle" /> </port> </service>
<login-config> <auth-method>BASIC</auth-method> <realm-name>default</realm-name> </login-config> <security-constraint> <web-resource-collection> <web-resource-name>SSLSecurityProvider</web-resource-name> <description>Security constraint for Security Provider</description> <url-pattern>/jbossws-samples-rpcstyle?wsdl</url-pattern> <http-method>POST</http-method> <http-method>GET</http-method> </web-resource-collection> <auth-constraint> <role-name>*</role-name> </auth-constraint> <user-data-constraint> <description>SSL required</description> <transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint> </security-constraint>