[jboss-cvs] JBossAS SVN: r92255 - in branches/JBPAPP_5_0/testsuite: src/resources/ejb3/webservice/META-INF/wsdl and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Aug 12 04:42:57 EDT 2009


Author: wolfc
Date: 2009-08-12 04:42:57 -0400 (Wed, 12 Aug 2009)
New Revision: 92255

Modified:
   branches/JBPAPP_5_0/testsuite/imports/sections/ejb3.xml
   branches/JBPAPP_5_0/testsuite/src/resources/ejb3/webservice/META-INF/wsdl/WebServiceContextEndpointBean.wsdl
Log:
JBPAPP-613: replace the host name in the soap address location with node0

Modified: branches/JBPAPP_5_0/testsuite/imports/sections/ejb3.xml
===================================================================
--- branches/JBPAPP_5_0/testsuite/imports/sections/ejb3.xml	2009-08-12 08:39:35 UTC (rev 92254)
+++ branches/JBPAPP_5_0/testsuite/imports/sections/ejb3.xml	2009-08-12 08:42:57 UTC (rev 92255)
@@ -127,12 +127,17 @@
    <target name="ejb3-webservice" depends="compile">
       <mkdir dir="${build.lib}" />
       
+      <!-- A bit fragile, because token replacement can happen only once -->
+      <replace file="${build.resources}/ejb3/webservice/META-INF/wsdl/WebServiceContextEndpointBean.wsdl"
+         token="@jboss.bind.address@"
+         value="${node0}"/>
+      
       <jar destfile="${build.lib}/ejb3-webservice.jar">
          <fileset dir="${build.classes}">
             <!-- include name="org/jboss/test/ejb3/common/**" / -->
             <include name="org/jboss/test/ejb3/webservice/**" />
          </fileset>
-         <fileset dir="${source.resources}/ejb3/webservice" includes="**"/>
+         <fileset dir="${build.resources}/ejb3/webservice" includes="**"/>
       </jar>
    </target>
    

Modified: branches/JBPAPP_5_0/testsuite/src/resources/ejb3/webservice/META-INF/wsdl/WebServiceContextEndpointBean.wsdl
===================================================================
--- branches/JBPAPP_5_0/testsuite/src/resources/ejb3/webservice/META-INF/wsdl/WebServiceContextEndpointBean.wsdl	2009-08-12 08:39:35 UTC (rev 92254)
+++ branches/JBPAPP_5_0/testsuite/src/resources/ejb3/webservice/META-INF/wsdl/WebServiceContextEndpointBean.wsdl	2009-08-12 08:42:57 UTC (rev 92255)
@@ -78,7 +78,7 @@
  <service name='WebServiceContextEndpointBeanService'>
   <port binding='tns:WebServiceContextEndpointBinding' name='WebServiceContextEndpointBeanPort'>
 
-   <soap:address location='http://localhost:8080/ejb3-webservice/WebServiceContextEndpointBean'/>
+   <soap:address location='http://@jboss.bind.address@:8080/ejb3-webservice/WebServiceContextEndpointBean'/>
   </port>
  </service>
 </definitions>
\ No newline at end of file




More information about the jboss-cvs-commits mailing list