JBoss Community

Re: WS interface bind name in AS7 is always localhost.

created by Jim Ma in JBoss Web Services - View the full discussion

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.

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community