title: WildFly web service configuration wsdl-port not working
body: <p>The "modify wsdl address" feature described under <a href="https://docs.jboss.org/author/display/WFLY8/Web+services+configuration" rel="nofollow">https://docs.jboss.org/author/display/WFLY8/Web+services+configuration</a> seems to be not working.</p>
  
  <p>The Wildfly is behind an Apache Httpd 2.2, usind <code>mod_proxy</code>.</p>
  
  <pre><code>ProxyPass         /     http://srv1:8080/
  ProxyPassReverse  /     http://srv1:8080/
  ProxyRequests     Off
  AllowEncodedSlashes NoDecode
  </code></pre>
  
  <p>In Wildfly, I configured </p>
  
  <pre><code>    ...
      &lt;subsystem xmlns="urn:jboss:domain:webservices:1.2"&gt;
          &lt;modify-wsdl-address&gt;true&lt;/modify-wsdl-address&gt;
          &lt;wsdl-host&gt;jbossws.undefined.host&lt;/wsdl-host&gt;
          &lt;wsdl-port&gt;80&lt;/wsdl-port&gt;
          ...
  </code></pre>
  
  <p>in my <code>standalone.xml</code>. But when I request the Webservice wsdl via Apache Proxying using <code>http://srv1/MyWebservice?wsdl</code>, the port is not set to 80:</p>
  
  <pre><code>    ...
      &lt;wsdl:service name="MyWebservice"&gt;
          &lt;wsdl:port binding="tns:MyWebserviceSoapBinding" name="MyPort"&gt;
              &lt;soap:address location="http://srv1:8080/MyWebservice"/&gt;
          &lt;/wsdl:port&gt;
      &lt;/wsdl:service&gt;
      ...
  </code></pre>
  
  <p>Any idea why this feature is not working?</p>