Is there a way to generate a soap:address location with a different port value than the default? I'm using EJB3 SLSBs with javax.jws.* and org.jboss.ws.annotation.* annotations for my services. The generated wsdl file locates the services at http://mymachine:8180/myserviceurl/myservice I run the server behind an apache proxy using ajp with ProxyPass /myserviceurl ajp://localhost:8109/myserviceurl. So really i want the wsdl file to look like this
Is there some annotation attribute i can set to change the way the wsdl generate the port?
Looks like all you have to do is comment out the jboss.bind.address in the jboss-beans.xml file and the address will automatically be rewritten