geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r522432 - /geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java
Date Mon, 26 Mar 2007 05:48:27 GMT
Author: gawor
Date: Sun Mar 25 22:48:27 2007
New Revision: 522432

URL: http://svn.apache.org/viewvc?view=rev&rev=522432
Log:
updated endpoint address uri for ejb ws

Modified:
    geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java

Modified: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java?view=diff&rev=522432&r1=522431&r2=522432
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java
(original)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-tests/jaxws-ejb/src/test/java/org/apache/geronimo/testsuite/testset/JaxWSTest.java
Sun Mar 25 22:48:27 2007
@@ -56,13 +56,10 @@
 
     @Test
     public void testInvocation() throws Exception {
-        String warName = System.getProperty("webAppName");
-        assertNotNull("Web application name not specified", warName);
-        
         InputStream requestInput = JaxWSTest.class.getResourceAsStream("/request1.xml");
         assertNotNull("SOAP request not specified", requestInput);
                 
-        URL url = new URL(baseURL + warName + "/JAXWSBean/");
+        URL url = new URL(baseURL + "JAXWSBeanService/JAXWSBean/");
         HttpURLConnection conn = (HttpURLConnection) url.openConnection();
         try {
             conn.setDoOutput(true);
@@ -138,10 +135,7 @@
 
     @Test
     public void testWSDL() throws Exception {
-        String warName = System.getProperty("webAppName");
-        assertNotNull("Web application name not specified", warName);
-        
-        URL url = new URL(baseURL + warName + "/JAXWSBean?wsdl");
+        URL url = new URL(baseURL + "JAXWSBeanService/JAXWSBean?wsdl");
         HttpURLConnection conn = (HttpURLConnection) url.openConnection();
         try {
             conn.setUseCaches(false);



Mime
View raw message