JBOSS6 中改写WEBSERVICE的SOAP的地址

修改 <jboss_home>/server/< 实例 >/deployers/jbossws.deployer/META-INF/stack-agnostic-jboss-beans.xml 文件

 

<bean name="WSServerConfig" class="org.jboss.webservices.integration.config.ServerConfigImpl">

    <property name="mbeanServer"><inject bean="WSMBeanServerLocator" property="mbeanServer"/></property>

 

<!-- ${jboss.bind.address} 修改你期望的主机名 -->

    <property name="webServiceHost"> ${jboss.bind.address} </property>

    <property name="modifySOAPAddress"> true </property>

 

    <!--

      <property name="webServiceSecurePort"> 8443 </property>

      <property name="webServicePort"> 8080 </property>

    -->

</bean>

你可能感兴趣的:(webservice)