You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by bu...@apache.org on 2012/02/19 20:08:22 UTC

svn commit: r805374 - in /websites/staging/openejb/trunk: ./ content/examples-trunk/rest-on-ejb/src/test/java/org/superbiz/rest/ content/examples-trunk/simple-webservice-without-interface/src/test/java/org/superbiz/calculator/ content/examples-trunk/si...

Author: buildbot
Date: Sun Feb 19 19:08:21 2012
New Revision: 805374

Log:
Staging update by buildbot for openejb

Modified:
    websites/staging/openejb/trunk/   (props changed)
    websites/staging/openejb/trunk/content/examples-trunk/rest-on-ejb/src/test/java/org/superbiz/rest/UserServiceTest.java
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/test/java/org/superbiz/calculator/CalculatorTest.java
    websites/staging/openejb/trunk/content/examples-trunk/simple-webservice/src/test/java/org/superbiz/calculator/ws/CalculatorTest.java
    websites/staging/openejb/trunk/content/examples-trunk/webapps/rest-example/pom.xml
    websites/staging/openejb/trunk/content/examples-trunk/webservice-attachments/src/test/java/org/superbiz/attachment/AttachmentTest.java
    websites/staging/openejb/trunk/content/examples-trunk/webservice-handlerchain/src/test/java/org/superbiz/calculator/wsh/CalculatorTest.java
    websites/staging/openejb/trunk/content/examples-trunk/webservice-holder/src/test/java/org/superbiz/ws/out/CalculatorTest.java
    websites/staging/openejb/trunk/content/examples-trunk/webservice-inheritance/src/test/java/org/superbiz/inheritance/InheritanceTest.java
    websites/staging/openejb/trunk/content/examples-trunk/webservice-security/src/test/java/org/superbiz/calculator/CalculatorTest.java
    websites/staging/openejb/trunk/content/examples-trunk/webservice-ws-security/src/test/java/org/superbiz/calculator/CalculatorTest.java

Propchange: websites/staging/openejb/trunk/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Feb 19 19:08:21 2012
@@ -1 +1 @@
-1290950
+1291041

Modified: websites/staging/openejb/trunk/content/examples-trunk/rest-on-ejb/src/test/java/org/superbiz/rest/UserServiceTest.java
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/rest-on-ejb/src/test/java/org/superbiz/rest/UserServiceTest.java (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/rest-on-ejb/src/test/java/org/superbiz/rest/UserServiceTest.java Sun Feb 19 19:08:21 2012
@@ -64,7 +64,7 @@ public class UserServiceTest {
     @Test
     public void create() {
         int expected = service.list(0, 100).size() + 1;
-        Response response = WebClient.create("http://localhost:4204")
+        Response response = WebClient.create("http://localhost:4204/rest-on-ejb")
                 .path("/user/create")
                 .query("name", "dummy")
                 .query("pwd", "unbreakable")
@@ -84,7 +84,7 @@ public class UserServiceTest {
     public void delete() throws Exception {
         User user = service.create("todelete", "dontforget", "delete@me.com");
 
-        WebClient.create("http://localhost:4204").path("/user/delete/" + user.getId()).delete();
+        WebClient.create("http://localhost:4204/rest-on-ejb").path("/user/delete/" + user.getId()).delete();
 
         user = service.find(user.getId());
         assertNull(user);
@@ -92,7 +92,7 @@ public class UserServiceTest {
 
     @Test
     public void show() {
-        User user = WebClient.create("http://localhost:4204")
+        User user = WebClient.create("http://localhost:4204/rest-on-ejb")
                 .path("/user/show/" + users.iterator().next().getId())
                 .get(User.class);
         assertEquals("foo", user.getFullname());
@@ -102,7 +102,7 @@ public class UserServiceTest {
 
     @Test
     public void list() throws Exception {
-        String users = WebClient.create("http://localhost:4204")
+        String users = WebClient.create("http://localhost:4204/rest-on-ejb")
                 .path("/user/list")
                 .get(String.class);
         assertEquals(
@@ -131,7 +131,7 @@ public class UserServiceTest {
     @Test
     public void update() throws Exception {
         User created = service.create("name", "pwd", "mail");
-        Response response = WebClient.create("http://localhost:4204")
+        Response response = WebClient.create("http://localhost:4204/rest-on-ejb")
                 .path("/user/update/" + created.getId())
                 .query("name", "corrected")
                 .query("pwd", "userpwd")

Modified: websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/test/java/org/superbiz/calculator/CalculatorTest.java
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/test/java/org/superbiz/calculator/CalculatorTest.java (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/simple-webservice-without-interface/src/test/java/org/superbiz/calculator/CalculatorTest.java Sun Feb 19 19:08:21 2012
@@ -56,7 +56,7 @@ public class CalculatorTest {
 
     @Test
     public void wsdlExists() throws Exception {
-        final URL url = new URL("http://127.0.0.1:4204/Calculator?wsdl");
+        final URL url = new URL("http://127.0.0.1:4204/simple-webservice-without-interface/Calculator?wsdl");
         assertTrue(IOUtils.readLines(url.openStream()).size() > 0);
         assertTrue(IOUtils.readLines(url.openStream()).toString().contains("CalculatorWsService"));
     }

Modified: websites/staging/openejb/trunk/content/examples-trunk/simple-webservice/src/test/java/org/superbiz/calculator/ws/CalculatorTest.java
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/simple-webservice/src/test/java/org/superbiz/calculator/ws/CalculatorTest.java (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/simple-webservice/src/test/java/org/superbiz/calculator/ws/CalculatorTest.java Sun Feb 19 19:08:21 2012
@@ -42,7 +42,7 @@ public class CalculatorTest {
     @Test
     public void test() throws Exception {
         Service calculatorService = Service.create(
-                new URL("http://127.0.0.1:4204/Calculator?wsdl"),
+                new URL("http://127.0.0.1:4204/simple-webservice/Calculator?wsdl"),
                 new QName("http://superbiz.org/wsdl", "CalculatorService"));
 
         assertNotNull(calculatorService);

Modified: websites/staging/openejb/trunk/content/examples-trunk/webapps/rest-example/pom.xml
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/webapps/rest-example/pom.xml (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/webapps/rest-example/pom.xml Sun Feb 19 19:08:21 2012
@@ -118,9 +118,23 @@
           </dependency>
         </dependencies>
       </plugin>
+<plugin>
+<groupId>org.apache.openejb</groupId>
+    <version>0.0.1-SNAPSHOT</version>
+<artifactId>dd-maven-plugin</artifactId>
+<executions><execution>
+<id>foo</id>
+<goals><goal>merge</goal></goals>
+</execution>
+</executions></plugin>
     </plugins>
   </build>
   <dependencies>
+<dependency>
+<groupId>org.superbiz</groupId>
+  <artifactId>webservice-security</artifactId>
+  <version>1.1-SNAPSHOT</version>
+      </dependency>
     <dependency>
       <groupId>org.apache.openejb</groupId>
       <artifactId>javaee-api</artifactId>

Modified: websites/staging/openejb/trunk/content/examples-trunk/webservice-attachments/src/test/java/org/superbiz/attachment/AttachmentTest.java
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/webservice-attachments/src/test/java/org/superbiz/attachment/AttachmentTest.java (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/webservice-attachments/src/test/java/org/superbiz/attachment/AttachmentTest.java Sun Feb 19 19:08:21 2012
@@ -53,7 +53,7 @@ public class AttachmentTest extends Test
     //START SNIPPET: webservice
     public void testAttachmentViaWsInterface() throws Exception {
         Service service = Service.create(
-                new URL("http://127.0.0.1:4204/AttachmentImpl?wsdl"),
+                new URL("http://127.0.0.1:4204/webservice-attachements/AttachmentImpl?wsdl"),
                 new QName("http://superbiz.org/wsdl", "AttachmentWsService"));
         assertNotNull(service);
 

Modified: websites/staging/openejb/trunk/content/examples-trunk/webservice-handlerchain/src/test/java/org/superbiz/calculator/wsh/CalculatorTest.java
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/webservice-handlerchain/src/test/java/org/superbiz/calculator/wsh/CalculatorTest.java (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/webservice-handlerchain/src/test/java/org/superbiz/calculator/wsh/CalculatorTest.java Sun Feb 19 19:08:21 2012
@@ -22,6 +22,7 @@ import org.junit.Test;
 import javax.ejb.embeddable.EJBContainer;
 import javax.xml.namespace.QName;
 import javax.xml.ws.Service;
+import java.lang.Thread;
 import java.net.URL;
 import java.util.Properties;
 
@@ -42,7 +43,7 @@ public class CalculatorTest {
     @Test
     public void testCalculatorViaWsInterface() throws Exception {
         final Service calculatorService = Service.create(
-                new URL("http://127.0.0.1:4204/Calculator?wsdl"),
+                new URL("http://127.0.0.1:4204/webservice-handlerchain/Calculator?wsdl"),
                 new QName("http://superbiz.org/wsdl", "CalculatorService"));
 
         assertNotNull(calculatorService);

Modified: websites/staging/openejb/trunk/content/examples-trunk/webservice-holder/src/test/java/org/superbiz/ws/out/CalculatorTest.java
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/webservice-holder/src/test/java/org/superbiz/ws/out/CalculatorTest.java (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/webservice-holder/src/test/java/org/superbiz/ws/out/CalculatorTest.java Sun Feb 19 19:08:21 2012
@@ -43,7 +43,7 @@ public class CalculatorTest {
     @Test
     public void outParams() throws Exception {
         final Service calculatorService = Service.create(
-                new URL("http://127.0.0.1:4204/Calculator?wsdl"),
+                new URL("http://127.0.0.1:4204/webservice-holder/Calculator?wsdl"),
                 new QName("http://superbiz.org/wsdl", "CalculatorService"));
 
         assertNotNull(calculatorService);

Modified: websites/staging/openejb/trunk/content/examples-trunk/webservice-inheritance/src/test/java/org/superbiz/inheritance/InheritanceTest.java
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/webservice-inheritance/src/test/java/org/superbiz/inheritance/InheritanceTest.java (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/webservice-inheritance/src/test/java/org/superbiz/inheritance/InheritanceTest.java Sun Feb 19 19:08:21 2012
@@ -59,7 +59,7 @@ public class InheritanceTest extends Tes
     //START SNIPPET: webservice
     public void testInheritanceViaWsInterface() throws Exception {
         Service service = Service.create(
-                new URL("http://127.0.0.1:4204/WakeRiderImpl?wsdl"),
+                new URL("http://127.0.0.1:4204/webservice-inheritance/WakeRiderImpl?wsdl"),
                 new QName("http://superbiz.org/wsdl", "InheritanceWsService"));
         assertNotNull(service);
 

Modified: websites/staging/openejb/trunk/content/examples-trunk/webservice-security/src/test/java/org/superbiz/calculator/CalculatorTest.java
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/webservice-security/src/test/java/org/superbiz/calculator/CalculatorTest.java (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/webservice-security/src/test/java/org/superbiz/calculator/CalculatorTest.java Sun Feb 19 19:08:21 2012
@@ -47,7 +47,7 @@ public class CalculatorTest extends Test
      */
     //START SNIPPET: webservice
     public void testCalculatorViaWsInterface() throws Exception {
-        URL url = new URL("http://127.0.0.1:4204/CalculatorImpl?wsdl");
+        URL url = new URL("http://127.0.0.1:4204/webservice-security/CalculatorImpl?wsdl");
         QName calcServiceQName = new QName("http://superbiz.org/wsdl", "CalculatorWsService");
         Service calcService = Service.create(url, calcServiceQName);
         assertNotNull(calcService);

Modified: websites/staging/openejb/trunk/content/examples-trunk/webservice-ws-security/src/test/java/org/superbiz/calculator/CalculatorTest.java
==============================================================================
--- websites/staging/openejb/trunk/content/examples-trunk/webservice-ws-security/src/test/java/org/superbiz/calculator/CalculatorTest.java (original)
+++ websites/staging/openejb/trunk/content/examples-trunk/webservice-ws-security/src/test/java/org/superbiz/calculator/CalculatorTest.java Sun Feb 19 19:08:21 2012
@@ -56,7 +56,7 @@ public class CalculatorTest extends Test
 
     //START SNIPPET: webservice
     public void testCalculatorViaWsInterface() throws Exception {
-        Service calcService = Service.create(new URL("http://127.0.0.1:4204/CalculatorImpl?wsdl"),
+        Service calcService = Service.create(new URL("http://127.0.0.1:4204/webservice-ws-security/CalculatorImpl?wsdl"),
                 new QName("http://superbiz.org/wsdl", "CalculatorWsService"));
         assertNotNull(calcService);
 
@@ -85,7 +85,7 @@ public class CalculatorTest extends Test
     }
 
     public void testCalculatorViaWsInterfaceWithTimestamp1way() throws Exception {
-        Service calcService = Service.create(new URL("http://127.0.0.1:4204/CalculatorImplTimestamp1way?wsdl"),
+        Service calcService = Service.create(new URL("http://127.0.0.1:4204/webservice-ws-security/CalculatorImplTimestamp1way?wsdl"),
                 new QName("http://superbiz.org/wsdl", "CalculatorWsService"));
         assertNotNull(calcService);
 
@@ -113,7 +113,7 @@ public class CalculatorTest extends Test
     }
 
     public void testCalculatorViaWsInterfaceWithTimestamp2ways() throws Exception {
-        Service calcService = Service.create(new URL("http://127.0.0.1:4204/CalculatorImplTimestamp2ways?wsdl"),
+        Service calcService = Service.create(new URL("http://127.0.0.1:4204/webservice-ws-security/CalculatorImplTimestamp2ways?wsdl"),
                 new QName("http://superbiz.org/wsdl", "CalculatorWsService"));
         assertNotNull(calcService);
 
@@ -147,7 +147,7 @@ public class CalculatorTest extends Test
     }
 
     public void testCalculatorViaWsInterfaceWithUsernameTokenPlainPassword() throws Exception {
-        Service calcService = Service.create(new URL("http://127.0.0.1:4204/CalculatorImplUsernameTokenPlainPassword?wsdl"),
+        Service calcService = Service.create(new URL("http://127.0.0.1:4204/webservice-ws-security/CalculatorImplUsernameTokenPlainPassword?wsdl"),
                 new QName("http://superbiz.org/wsdl", "CalculatorWsService"));
         assertNotNull(calcService);
 
@@ -186,7 +186,7 @@ public class CalculatorTest extends Test
     }
 
     public void testCalculatorViaWsInterfaceWithUsernameTokenHashedPassword() throws Exception {
-        Service calcService = Service.create(new URL("http://127.0.0.1:4204/CalculatorImplUsernameTokenHashedPassword?wsdl"),
+        Service calcService = Service.create(new URL("http://127.0.0.1:4204/webservice-ws-security/CalculatorImplUsernameTokenHashedPassword?wsdl"),
                 new QName("http://superbiz.org/wsdl", "CalculatorWsService"));
         assertNotNull(calcService);
 
@@ -225,7 +225,7 @@ public class CalculatorTest extends Test
     }
 
     public void testCalculatorViaWsInterfaceWithUsernameTokenPlainPasswordEncrypt() throws Exception {
-        Service calcService = Service.create(new URL("http://127.0.0.1:4204/CalculatorImplUsernameTokenPlainPasswordEncrypt?wsdl"),
+        Service calcService = Service.create(new URL("http://127.0.0.1:4204/webservice-ws-security/CalculatorImplUsernameTokenPlainPasswordEncrypt?wsdl"),
                 new QName("http://superbiz.org/wsdl", "CalculatorWsService"));
         assertNotNull(calcService);
 
@@ -267,7 +267,7 @@ public class CalculatorTest extends Test
     }
 
     public void testCalculatorViaWsInterfaceWithSign() throws Exception {
-        Service calcService = Service.create(new URL("http://127.0.0.1:4204/CalculatorImplSign?wsdl"),
+        Service calcService = Service.create(new URL("http://127.0.0.1:4204/webservice-ws-security/CalculatorImplSign?wsdl"),
                 new QName("http://superbiz.org/wsdl", "CalculatorWsService"));
         assertNotNull(calcService);