Take an endpoint with a servlet-mapping similar to: -
If the transport-guarantee is defined as: -
JBossWS will detect this correctly and place a https address in the WSDL.
However if the url-pattern is changed to: -
JBoss Web will still enforce the transport-guarantee for the call JBossWS will not detect this and will present a wsdl with a http address.