You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2008/03/08 04:01:09 UTC

svn commit: r634893 - in /webservices/axis2/trunk/java/modules/jaxws-integration: pom.xml test/org/apache/axis2/jaxws/sample/DocLitBareMinTests.java

Author: dims
Date: Fri Mar  7 19:01:08 2008
New Revision: 634893

URL: http://svn.apache.org/viewvc?rev=634893&view=rev
Log:
Trying to re-enable test for AXIS2-2605. Let's see if it shows intermittent failures again

Modified:
    webservices/axis2/trunk/java/modules/jaxws-integration/pom.xml
    webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/sample/DocLitBareMinTests.java

Modified: webservices/axis2/trunk/java/modules/jaxws-integration/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-integration/pom.xml?rev=634893&r1=634892&r2=634893&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-integration/pom.xml (original)
+++ webservices/axis2/trunk/java/modules/jaxws-integration/pom.xml Fri Mar  7 19:01:08 2008
@@ -1067,6 +1067,24 @@
 									basedir="${pom.basedir}/target/test-classes/servicejars/RPCLitStringArrayService"
 								/>
 								<delete dir="target/test-classes/servicejars/RPCLitStringArrayService"/>								
+
+
+								<copy toDir="target/test-classes/servicejars/BareDocLitMinService/">
+									<fileset dir="target/test-classes">
+									   <include name="org/apache/axis2/jaxws/sample/doclitbaremin/**"/>
+									   <exclude name="org/apache/axis2/jaxws/sample/doclitbaremin/META-INF/services.xml"/>
+									</fileset>
+									<fileset dir="test/org/apache/axis2/jaxws/sample/doclitbaremin/">
+									   <include name="META-INF/**"/>
+									   <exclude name="META-INF/services.xml"/>
+									</fileset>
+								</copy>	
+
+								<zip destfile="target/test-classes/servicejars/BareDocLitMinService.jar"
+									basedir="${pom.basedir}/target/test-classes/servicejars/BareDocLitMinService"
+								/>
+								<delete dir="target/test-classes/servicejars/BareDocLitMinService"/>								
+
 								<copy toDir="target/test-classes/">
 									<fileset dir="test-resources/">
 										<include name="**/*.properties"/>
@@ -1170,10 +1188,10 @@
 						<include>**/StringDispatchTests.java</include>
 						<include>**/ParamTests.java</include>
 						<include>**/MessageContextTests.java</include>
-						
+						<include>**/DocLitBareMinTests.java</include>
+
 			<!--	These tests are currently failing    -->
 			<!--			<include>**/MtomSampleByteArrayTests.java</include> -->
-			<!--			<include>**/DocLitBareMinTests.java</include> -->
 			<!-- 			<include>**/FaultyWebServiceTests.java</include> -->
 			<!-- 			<include>**/ParallelAsyncTests.java</include> -->
 			<!--			<include>**/StringListTests.java</include> -->

Modified: webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/sample/DocLitBareMinTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/sample/DocLitBareMinTests.java?rev=634893&r1=634892&r2=634893&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/sample/DocLitBareMinTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws-integration/test/org/apache/axis2/jaxws/sample/DocLitBareMinTests.java Fri Mar  7 19:01:08 2008
@@ -33,6 +33,7 @@
 
 
 public class DocLitBareMinTests extends AbstractTestCase {
+    String axisEndpoint = "http://localhost:6060/axis2/services/DocLitBareMinPortTypeImplService.DocLitBareMinPortTypeImplPort";
 
     public static Test suite() {
         return getTestSetup(new TestSuite(DocLitBareMinTests.class));
@@ -47,6 +48,7 @@
         BareDocLitMinService service = new BareDocLitMinService();
         DocLitBareMinPortType proxy = service.getBareDocLitMinPort();
         BindingProvider p = (BindingProvider) proxy;
+        p.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, axisEndpoint);
         p.getRequestContext().put(
                 BindingProvider.SOAPACTION_USE_PROPERTY, Boolean.TRUE);
         p.getRequestContext().put(



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org