Quite often users are requesting the ability to automatically set the port to be used for
WSDL generation / URL replacement.
I would like to add something to 'ServerConfigImpl' to query all of the Tomcat
connectors currently registered with the MBean server.
Take the first connector with scheme 'http' and secure set to false as the
webServicePort.
Take the first connector with scheme 'http' and secure set to true as the
webServiceSecurePort.
If multiple connectors are found a warning can be logged.
The values can then be injected into the ServiceEndpointManager.
The majority of users appear to have a problem when they are changing the Tomcat port or
using the binding manager, this implementation would cover this.
For users with advanced use cases they can still modify the jboss-beans.xml as before.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971921#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...