-
1. Re: WS interface bind name in AS7 is always localhost.
whitingjr Sep 5, 2011 11:09 AM (in response to whitingjr)Oh and I do have this property defined in standalone.conf
-Djboss.bind.address=jentp-jbossas
Jeremy
-
2. Re: WS interface bind name in AS7 is always localhost.
jim.ma Sep 5, 2011 11:18 PM (in response to whitingjr)Given the public interface can be bound to a wildcard address, the wsdl-host configuration is required now to change the wsdl address:
<subsystem xmlns="urn:jboss:domain:webservices:1.0" xmlns:javaee="http://java.sun.com/xml/ns/javaee" xmlns:jaxwsconfig="urn:jboss:jbossws-jaxws-config:4.0">
<wsdl-host>10.66.15.48</wsdl-host>
<modify-wsdl-address>true</modify-wsdl-address>
We are looking at change the wsdl address value dynaimcally to user request address.
Thanks
Jim
-
3. Re: WS interface bind name in AS7 is always localhost.
whitingjr Sep 6, 2011 5:59 AM (in response to jim.ma)Hi Jim,
Thanks for showing me where to set the inteface bind name.
Regards,
Jeremy
-
4. Re: WS interface bind name in AS7 is always localhost.
jim.ma Sep 6, 2011 10:32 PM (in response to jim.ma)We are looking at change the wsdl address value dynaimcally to user request address.
I just tried jboss-as-7.0.1.Final and it looks this already works. You can simply configure the wsdl-host value with "jbossws.undefined.host":
<subsystem xmlns="urn:jboss:domain:webservices:1.0" xmlns:javaee="http://java.sun.com/xml/ns/javaee" xmlns:jaxwsconfig="urn:jboss:jbossws-jaxws-config:4.0">
<wsdl-host>jbossws.undefined.host</wsdl-host>
<modify-wsdl-address>true</modify-wsdl-address>
and this will have the wsdl host have the same value with the request address.