From 3b7a9c51b93925c567b6b84450410b2737cc565e Mon Sep 17 00:00:00 2001 From: antelder Date: Thu, 16 Feb 2012 15:41:20 +0000 Subject: Delete old RC tags git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1245037 13f79535-47bb-0310-9956-ffa450edef68 --- .../2.0-Beta1-RC1/testing/itest/ws-jaxws/README | 83 ------------ .../itest/ws-jaxws/contribution-java-first/pom.xml | 123 ------------------ .../apache/tuscany/sca/binding/ws/jaxws/Bar.java | 58 --------- .../apache/tuscany/sca/binding/ws/jaxws/Foo.java | 36 ------ .../tuscany/sca/binding/ws/jaxws/HelloWorld.java | 31 ----- .../sca/binding/ws/jaxws/HelloWorldImpl.java | 53 -------- .../resources/HelloWorldServiceService_schema1.xsd | 38 ------ .../main/resources/META-INF/sca-contribution.xml | 23 ---- .../resources/helloworld-external-service.wsdl | 57 -------- .../src/main/resources/helloworld.composite | 35 ----- .../itest/ws-jaxws/contribution-wsdl-first/pom.xml | 125 ------------------ .../sca/binding/ws/jaxws/impl/HelloWorldImpl.java | 43 ------- .../main/resources/META-INF/sca-contribution.xml | 23 ---- .../src/main/resources/helloworld-external.wsdl | 84 ------------ .../src/main/resources/helloworld-sca.wsdl | 84 ------------ .../src/main/resources/helloworld.composite | 35 ----- .../testing/itest/ws-jaxws/external-client/pom.xml | 122 ------------------ .../external/client/HelloWorldClientLauncher.java | 73 ----------- .../src/main/resources/HelloWorldImplService.wsdl | 104 --------------- .../resources/HelloWorldImplService_schema1.xsd | 93 -------------- .../itest/ws-jaxws/external-service/pom.xml | 104 --------------- .../jaxws/external/service/HelloWorldService.java | 57 -------- .../service/HelloWorldServiceLauncher.java | 49 ------- .../testing/itest/ws-jaxws/launcher-ri/pom.xml | 114 ---------------- .../ws/jaxws/launcher/JavaFirstTestCase.java | 119 ----------------- .../ws/jaxws/launcher/WSDLFirstTestCaseOFF.java | 143 --------------------- .../2.0-Beta1-RC1/testing/itest/ws-jaxws/pom.xml | 41 ------ 27 files changed, 1950 deletions(-) delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/README delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/pom.xml delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/Bar.java delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/Foo.java delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/HelloWorld.java delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/HelloWorldImpl.java delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/resources/HelloWorldServiceService_schema1.xsd delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/resources/helloworld-external-service.wsdl delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/resources/helloworld.composite delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/pom.xml delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/impl/HelloWorldImpl.java delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/resources/META-INF/sca-contribution.xml delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/resources/helloworld-external.wsdl delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/resources/helloworld-sca.wsdl delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/resources/helloworld.composite delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-client/pom.xml delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-client/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/external/client/HelloWorldClientLauncher.java delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-client/src/main/resources/HelloWorldImplService.wsdl delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-client/src/main/resources/HelloWorldImplService_schema1.xsd delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-service/pom.xml delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-service/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/external/service/HelloWorldService.java delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-service/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/external/service/HelloWorldServiceLauncher.java delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/launcher-ri/pom.xml delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/launcher-ri/src/test/java/org/apache/tuscany/sca/binding/ws/jaxws/launcher/JavaFirstTestCase.java delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/launcher-ri/src/test/java/org/apache/tuscany/sca/binding/ws/jaxws/launcher/WSDLFirstTestCaseOFF.java delete mode 100644 sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/pom.xml (limited to 'sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws') diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/README b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/README deleted file mode 100644 index cf635e78d0..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/README +++ /dev/null @@ -1,83 +0,0 @@ - -Scenarios -========= - -General Patterns ----------------- - -For simple synchronous tests: - -Jaxws client -> (b.ws service) SCA Component (b.ws reference) -> Jaxws Service - -For callback or asynchronous tests - -JUnit client -> SCA Component (b.ws reference) -> (b.ws service) SCA component - -Java First ----------- -scratch java component impl -interface jaave (simple + JAXB + SDO ) -?wsdl - gens wsdl - -Java First with JAX-WS annotations ----------------------------------- -WSDL -> wsimport -> Java component impl -interface java -?wsdl - re-gens wsdl - -WSDL first ----------- -Java component impl -> wsgen -> wsdl -interface wsdl -?wsld - provided wsdl - -Policy ------- -ws-policy (aac) - -Java First - WSpolicy from Policy set in definitions.xml - ?wsdl - gens wsdl + policy -WSDL first - WSpolicy from WSDL - ?wsld - uses wsdl + policy - Policy signing - -alternative bindings --------------------- -SOAP/HTTP -SOAP/HTTPS -SOAP/JMS - How to retrieve WSDL for non-http bindings (a SHOULD in the spec) - -asynchInvocation Intent ------------------------ - Service - Client - -noListener Intent ------------------ - ws-makeconnetion? - - -SOAP1.1 intent --------------- - - -SOAP1.2 intent --------------- - -MTOM intent --------------- - -callback --------- -new OASIS protocol -WSCallback ws policy - -JAXWS Asynch APIs ------------------ - -Streaming ---------- -Do we need to support? diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/pom.xml b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/pom.xml deleted file mode 100644 index a70d8b7e8d..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/pom.xml +++ /dev/null @@ -1,123 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-Beta1 - ../pom.xml - - - itest-ws-jaxws-contribution-java-first - Apache Tuscany SCA iTest WS JAXWS Contribution Java First - - - - - org.apache.tuscany.sca - tuscany-feature-core - pom - 2.0-Beta1 - - - - - - ${artifactId} - - - org.codehaus.mojo - build-helper-maven-plugin - 1.0 - - - add-source - generate-sources - - add-test-source - - - - target/jaxws-source - - - - - - - org.codehaus.mojo - jaxws-maven-plugin - 1.12 - - - - javax.jws - jsr181-api - 1.0-MR1 - - - javax.annotation - jsr250-api - 1.0 - - - - - wsgen1 - process-classes - - wsgen - - - org.apache.tuscany.sca.binding.ws.jaxws.HelloWorldImpl - true - ${project.build.directory}/jaxws/stale/.wsgen1StaleFlag - - - - wsimport1 - process-resources - - wsimport - - - org.apache.tuscany.sca.binding.ws.jaxws.external.service.jaxws - ${basedir}/target/classes - - helloworld-external-service.wsdl - - ${project.build.directory}/jaxws/stale/.wsimport1StaleFlag - - - - - 2.1 - ${project.build.directory}/jaxws-source - ${project.build.directory}/jaxws-source - true - true - - - - - diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/Bar.java b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/Bar.java deleted file mode 100644 index e712ec8b53..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/Bar.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.binding.ws.jaxws; - -import java.io.Serializable; - -public class Bar implements Serializable { - private static final long serialVersionUID = 1249963611910502668L; - - private String s; - private int x; - private Integer y; - - private Boolean b; - - public Boolean getB() { - return b; - } - public void setB(Boolean b) { - this.b = b; - } - public String getS() { - return s; - } - public void setS(String s) { - this.s = s; - } - public int getX() { - return x; - } - public void setX(int x) { - this.x = x; - } - public Integer getY() { - return y; - } - public void setY(Integer y) { - this.y = y; - } - -} diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/Foo.java b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/Foo.java deleted file mode 100644 index d09b2af230..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/Foo.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.binding.ws.jaxws; - -import java.io.Serializable; - -public class Foo implements Serializable { - private static final long serialVersionUID = 4879476066850018458L; - - private Bar[] bars; - - public Bar[] getBars() { - return bars; - } - - public void setBars(Bar[] bars) { - this.bars = bars; - } -} diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/HelloWorld.java b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/HelloWorld.java deleted file mode 100644 index 652f7b53c4..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/HelloWorld.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.binding.ws.jaxws; - -import org.oasisopen.sca.ServiceRuntimeException; -import org.oasisopen.sca.annotation.Remotable; - -@Remotable -public interface HelloWorld { - - String getGreetings(String s); - String getGreetingsException(String s) throws ServiceRuntimeException; - Foo getGreetingsComplex(Foo foo); -} diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/HelloWorldImpl.java b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/HelloWorldImpl.java deleted file mode 100644 index 85e55888c6..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/HelloWorldImpl.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.binding.ws.jaxws; - -import javax.jws.WebService; - -import org.apache.tuscany.sca.binding.ws.jaxws.external.service.jaxws.HelloWorldService; -import org.oasisopen.sca.ServiceRuntimeException; -import org.oasisopen.sca.annotation.Reference; - -@WebService -public class HelloWorldImpl implements HelloWorld { - - @Reference - public HelloWorldService helloWorldExternal; - - public String getGreetings(String s) { - System.out.println("Entering SCA HelloWorld.getGreetings: " + s); - String response = helloWorldExternal.getGreetings(s); - System.out.println("Leaving SCA HelloWorld.getGreetings: " + response); - return response; - } - - public String getGreetingsException(String s) throws ServiceRuntimeException { - System.out.println("Entering SCA HelloWorld.getGreetingsException: " + s); - String response = helloWorldExternal.getGreetings(s); - System.out.println("Leaving SCA HelloWorld.getGreetings: " + response); - throw new ServiceRuntimeException(response); - } - - public Foo getGreetingsComplex(Foo foo){ - Foo response = null;//helloWorldExternal.getGreetingsComplex(foo); - System.out.println("At client: " + response.getBars()[0].getS()); - return response; - } -} diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/resources/HelloWorldServiceService_schema1.xsd b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/resources/HelloWorldServiceService_schema1.xsd deleted file mode 100644 index 51f6dd4d51..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/resources/HelloWorldServiceService_schema1.xsd +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/resources/META-INF/sca-contribution.xml b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/resources/META-INF/sca-contribution.xml deleted file mode 100644 index 7e71dd465f..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/resources/META-INF/sca-contribution.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - \ No newline at end of file diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/resources/helloworld-external-service.wsdl b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/resources/helloworld-external-service.wsdl deleted file mode 100644 index 67236a5f98..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/resources/helloworld-external-service.wsdl +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/resources/helloworld.composite b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/resources/helloworld.composite deleted file mode 100644 index 0188dc0d41..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-java-first/src/main/resources/helloworld.composite +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/pom.xml b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/pom.xml deleted file mode 100644 index 29a8cff193..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/pom.xml +++ /dev/null @@ -1,125 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-Beta1 - ../pom.xml - - - itest-ws-jaxws-contribution-wsdl-first - Apache Tuscany SCA iTest WS JAXWS Contribution WSDL First - - - - - org.apache.tuscany.sca - tuscany-feature-core - pom - 2.0-Beta1 - - - - - - ${artifactId} - - - org.codehaus.mojo - build-helper-maven-plugin - 1.0 - - - add-source - generate-sources - - add-test-source - - - - target/jaxws-source - - - - - - - org.codehaus.mojo - jaxws-maven-plugin - 1.12 - - - - javax.jws - jsr181-api - 1.0-MR1 - - - javax.annotation - jsr250-api - 1.0 - - - - - wsimport1 - process-resources - - wsimport - - - org.apache.tuscany.sca.binding.ws.jaxws - ${basedir}/target/classes - - helloworld-sca.wsdl - - ${project.build.directory}/jaxws/stale/.wsimport1StaleFlag - - - - wsimport2 - process-resources - - wsimport - - - org.apache.tuscany.sca.binding.ws.jaxws.external.service - ${basedir}/target/classes - - helloworld-external.wsdl - - ${project.build.directory}/jaxws/stale/.wsimport2StaleFlag - - - - - 2.1 - ${project.build.directory}/jaxws-source - true - true - - - - - diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/impl/HelloWorldImpl.java b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/impl/HelloWorldImpl.java deleted file mode 100644 index 7c63fd5ba9..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/impl/HelloWorldImpl.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.binding.ws.jaxws.impl; - -import org.apache.tuscany.sca.binding.ws.jaxws.HelloWorld; -import org.oasisopen.sca.annotation.Reference; - -public class HelloWorldImpl implements HelloWorld { - - @Reference - public org.apache.tuscany.sca.binding.ws.jaxws.external.service.HelloWorld helloWorldExternal; - - public String getGreetings(String s) { - System.out.println("Entering SCA HelloWorld.getGreetings: " + s); - String response = helloWorldExternal.getGreetings(s); - System.out.println("Leaving SCA HelloWorld.getGreetings: " + response); - return response; - } -/* - public Foo getGreetingsComplex(Foo foo){ - Foo response = null;//helloWorldExternal.getGreetingsComplex(foo); - System.out.println("At client: " + response.getBars()[0].getS()); - return response; - } -*/ -} diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/resources/META-INF/sca-contribution.xml b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/resources/META-INF/sca-contribution.xml deleted file mode 100644 index 7e71dd465f..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/resources/META-INF/sca-contribution.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - \ No newline at end of file diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/resources/helloworld-external.wsdl b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/resources/helloworld-external.wsdl deleted file mode 100644 index 78d8077bcd..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/resources/helloworld-external.wsdl +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/resources/helloworld-sca.wsdl b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/resources/helloworld-sca.wsdl deleted file mode 100644 index 0e6a10cc62..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/resources/helloworld-sca.wsdl +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/resources/helloworld.composite b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/resources/helloworld.composite deleted file mode 100644 index 0cd2b4419d..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/contribution-wsdl-first/src/main/resources/helloworld.composite +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-client/pom.xml b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-client/pom.xml deleted file mode 100644 index b77675494a..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-client/pom.xml +++ /dev/null @@ -1,122 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-Beta1 - ../pom.xml - - - itest-ws-jaxws-external-client - Apache Tuscany SCA iTest WS JAXWS External Client - - - - - - org.apache.tuscany.sca - tuscany-feature-core - pom - 2.0-Beta1 - - - - - org.apache.tuscany.sca - tuscany-binding-ws-runtime-jaxws-ri - 2.0-Beta1 - - - - - - - ${artifactId} - - - - org.codehaus.mojo - build-helper-maven-plugin - 1.0 - - - add-source - generate-sources - - add-test-source - - - - target/jaxws-source - - - - - - - org.codehaus.mojo - jaxws-maven-plugin - 1.12 - - - - javax.jws - jsr181-api - 1.0-MR1 - - - javax.annotation - jsr250-api - 1.0 - - - - - wsimport1 - process-resources - - wsimport - - - org.apache.tuscany.sca.binding.ws.jaxws.sca - ${basedir}/target/classes - - HelloWorldImplService.wsdl - - ${project.build.directory}/jaxws/stale/.wsimport1StaleFlag - - - - - 2.1 - ${project.build.directory}/jaxws-source - ${project.build.directory}/jaxws-source - true - true - - - - - - diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-client/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/external/client/HelloWorldClientLauncher.java b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-client/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/external/client/HelloWorldClientLauncher.java deleted file mode 100644 index da40a7f442..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-client/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/external/client/HelloWorldClientLauncher.java +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.binding.ws.jaxws.external.client; - -import java.io.File; -import java.net.URL; - -import javax.xml.namespace.QName; -import javax.xml.ws.Service; - -import org.apache.tuscany.sca.binding.ws.jaxws.sca.Exception_Exception; -import org.apache.tuscany.sca.binding.ws.jaxws.sca.HelloWorldImpl; - -public class HelloWorldClientLauncher { - - public HelloWorldImpl wsProxy; - - public HelloWorldClientLauncher(){ - } - - public void createClient() throws Exception{ - System.out.println(">>> Starting external JAXWS client "); - - // default JVM JAXWS support - QName serviceName = new QName("http://jaxws.ws.binding.sca.tuscany.apache.org/", "HelloWorldImplService"); - QName portName = new QName("http://jaxws.ws.binding.sca.tuscany.apache.org/", "HelloWorldImplPort"); - //URL wsdlLocation = new File("../external-client/target/classes/helloworld-sca.wsdl").toURL(); - URL wsdlLocation = new File("../external-client/target/classes/HelloWorldImplService.wsdl").toURL(); - javax.xml.ws.Service webService = Service.create(wsdlLocation, serviceName); - wsProxy = (HelloWorldImpl) webService.getPort(portName, HelloWorldImpl.class); - } - - public void destroyClient(){ - System.out.println(">>> Stopping external JAXWS client: "); - // TODO - } - - public String getGreetings(String name){ - System.out.println("Entering External Client HelloWorld.getGreetings: " + name); - String response = wsProxy.getGreetings(name); - System.out.println("Leaving External Client HelloWorld.getGreetings: " + response); - return response; - } - - public String getGreetingsException(String name) throws Exception_Exception { - return wsProxy.getGreetingsException(name); - } - - public static void main(String[] args) throws Exception { - HelloWorldClientLauncher launcher = new HelloWorldClientLauncher(); - launcher.createClient(); - launcher.getGreetings("Fred"); - launcher.destroyClient(); - } - -} diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-client/src/main/resources/HelloWorldImplService.wsdl b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-client/src/main/resources/HelloWorldImplService.wsdl deleted file mode 100644 index 11ed0a3353..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-client/src/main/resources/HelloWorldImplService.wsdl +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-client/src/main/resources/HelloWorldImplService_schema1.xsd b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-client/src/main/resources/HelloWorldImplService_schema1.xsd deleted file mode 100644 index 3c347570a0..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-client/src/main/resources/HelloWorldImplService_schema1.xsd +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-service/pom.xml b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-service/pom.xml deleted file mode 100644 index 24b19d5ddc..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-service/pom.xml +++ /dev/null @@ -1,104 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-Beta1 - ../pom.xml - - - itest-ws-jaxws-external-service - Apache Tuscany SCA iTest WS JAXWS External Service - - - - - - - - ${artifactId} - - - - org.codehaus.mojo - build-helper-maven-plugin - 1.0 - - - add-source - generate-sources - - add-test-source - - - - target/jaxws-source - - - - - - - org.codehaus.mojo - jaxws-maven-plugin - 1.12 - - - - javax.jws - jsr181-api - 1.0-MR1 - - - javax.annotation - jsr250-api - 1.0 - - - - - wsgen1 - process-classes - - wsgen - - - org.apache.tuscany.sca.binding.ws.jaxws.external.service.HelloWorldService - true - ${project.build.directory}/jaxws/stale/.wsgen1StaleFlag - - - - - 2.1 - ${project.build.directory}/jaxws-source - ${project.build.directory}/jaxws-source - true - true - - - - - - diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-service/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/external/service/HelloWorldService.java b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-service/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/external/service/HelloWorldService.java deleted file mode 100644 index 796ef82792..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-service/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/external/service/HelloWorldService.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.binding.ws.jaxws.external.service; - -import javax.jws.WebMethod; -import javax.jws.WebParam; -import javax.jws.WebResult; -import javax.jws.WebService; -import javax.xml.ws.RequestWrapper; -import javax.xml.ws.ResponseWrapper; - -@WebService(name = "HelloWorldService", targetNamespace = "http://helloworld/external") -public class HelloWorldService { - - @WebMethod - @WebResult(name = "getGreetingsReturn", targetNamespace = "http://helloworld/external") - @RequestWrapper(localName = "getGreetings", targetNamespace = "http://helloworld/external", className = "org.apache.tuscany.sca.binding.ws.jaxws.external.service.GetGreetings") - @ResponseWrapper(localName = "getGreetingsResponse", targetNamespace = "http://helloworld/external", className = "org.apache.tuscany.sca.binding.ws.jaxws.external.service.GetGreetingsResponse") - public String getGreetings( @WebParam(name = "name", targetNamespace = "http://helloworld/external") - String name) { - System.out.println("Entering External Service HelloWorld.getGreetings: " + name); - String response = "Hello " + name; - System.out.println("Leaving External Service HelloWorld.getGreetings: " + response); - return response; - } - -/* - public Foo getGreetingsComplex(Foo foo){ - Foo response = foo; - Bar b3 = new Bar(); - b3.setS("simon"); - b3.setX(4); - b3.setY(new Integer(5)); - b3.setB(Boolean.TRUE); - response.getBars()[1] = b3; - System.out.println("At sevice: " + response.getBars()[0].getS()); - return response; - } -*/ -} diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-service/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/external/service/HelloWorldServiceLauncher.java b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-service/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/external/service/HelloWorldServiceLauncher.java deleted file mode 100644 index ba7e033f63..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/external-service/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/external/service/HelloWorldServiceLauncher.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.binding.ws.jaxws.external.service; - -import javax.xml.ws.Endpoint; - -public class HelloWorldServiceLauncher { - - public Endpoint endpoint; - - public HelloWorldServiceLauncher(){ - - } - - public void createService(){ - System.out.println(">>> Starting external JAXWS service at http://localhost:8086/External/HelloWorld"); - - // default JVM JAXWS support. - endpoint= Endpoint.publish("http://localhost:8086/External/HelloWorld", - new HelloWorldService()); - } - - public void destoryService(){ - System.out.println(">>> Stopping external JAXWS service at http://localhost:8086/External/HelloWorld"); - endpoint.stop(); - } - - public static void main(String[] args) throws Exception { - HelloWorldServiceLauncher launcher = new HelloWorldServiceLauncher(); - launcher.createService(); - } -} diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/launcher-ri/pom.xml b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/launcher-ri/pom.xml deleted file mode 100644 index 4e0fe38f00..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/launcher-ri/pom.xml +++ /dev/null @@ -1,114 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-Beta1 - ../pom.xml - - - itest-ws-jaxws-launcher-ri - Apache Tuscany SCA iTest WS JAXWS Launcher RI - - - - - - - org.apache.tuscany.sca - tuscany-feature-core - pom - 2.0-Beta1 - - - - - org.apache.tuscany.sca - tuscany-binding-ws-runtime-jaxws-ri - 2.0-Beta1 - - - org.apache.tuscany.sca - tuscany-binding-ws-wsdlgen - 2.0-Beta1 - - - - - org.apache.tuscany.sca - tuscany-databinding-axiom - 2.0-Beta1 - - - org.apache.tuscany.sca - tuscany-databinding-jaxb-axiom - 2.0-Beta1 - - - - - - org.apache.tuscany.sca - tuscany-host-jetty - 2.0-Beta1 - - - - - org.apache.tuscany.sca - itest-ws-jaxws-external-client - 2.0-Beta1 - - - - org.apache.tuscany.sca - itest-ws-jaxws-external-service - 2.0-Beta1 - - - - - - ${artifactId} - - - - diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/launcher-ri/src/test/java/org/apache/tuscany/sca/binding/ws/jaxws/launcher/JavaFirstTestCase.java b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/launcher-ri/src/test/java/org/apache/tuscany/sca/binding/ws/jaxws/launcher/JavaFirstTestCase.java deleted file mode 100644 index 3c14218118..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/launcher-ri/src/test/java/org/apache/tuscany/sca/binding/ws/jaxws/launcher/JavaFirstTestCase.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.binding.ws.jaxws.launcher; - -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.fail; - -import org.apache.tuscany.sca.binding.ws.jaxws.external.client.HelloWorldClientLauncher; -import org.apache.tuscany.sca.binding.ws.jaxws.external.service.HelloWorldServiceLauncher; -import org.apache.tuscany.sca.node.Contribution; -import org.apache.tuscany.sca.node.Node; -import org.apache.tuscany.sca.node.NodeFactory; -import org.junit.After; -import org.junit.Before; -import org.junit.Test; - -public class JavaFirstTestCase { - - private Node node; - private HelloWorldServiceLauncher externalService; - private HelloWorldClientLauncher externalClient; - - @Before - public void setUp() throws Exception { - // Start the external service - externalService = new HelloWorldServiceLauncher(); - externalService.createService(); - - // Start the SCA contribution - node = NodeFactory.newInstance().createNode(new Contribution("java-first", "../contribution-java-first/target/classes")); - node.start(); - - // start the external client - try { - externalClient = new HelloWorldClientLauncher(); - externalClient.createClient(); - } catch (Exception ex) { - ex.printStackTrace(); - throw ex; - } - } - -/* - public void testWait() throws Exception { - System.out.println("Press a key"); - System.in.read(); - } -*/ - - @Test - public void testGetGreetings() throws Exception { - assertEquals("Hello Fred", externalClient.getGreetings("Fred")); - } - - @Test - public void testGetGreetingsException() throws Exception { - try { - externalClient.getGreetingsException("Fred"); - } catch (Exception ex) { - return; - } - - fail("expecting exception"); - } - - public void testGetGreetingsComplex() throws Exception { - -/* - Foo f = new Foo(); - Bar b1 = new Bar(); - b1.setS("petra"); - b1.setX(1); - b1.setY(new Integer(2)); - b1.setB(Boolean.TRUE); - Bar b2 = new Bar(); - b2.setS("beate"); - b2.setX(3); - b2.setY(new Integer(4)); - b2.setB(Boolean.FALSE); - f.setBars(new Bar[] { b1, b2} ); - - Foo f2 = helloWorld.getGreetingsComplex(f); - - assertEquals("petra", f2.getBars()[0].getS()); - assertEquals(1, f2.getBars()[0].getX()); - assertEquals(2, f2.getBars()[0].getY().intValue()); - assertTrue(f2.getBars()[0].getB().booleanValue()); - assertEquals("simon", f2.getBars()[1].getS()); - assertEquals(4, f2.getBars()[1].getX()); - assertEquals(5, f2.getBars()[1].getY().intValue()); - assertTrue(f2.getBars()[1].getB().booleanValue()); -*/ - } - - @After - public void tearDown() throws Exception { - node.stop(); - externalClient.destroyClient(); - externalService.destoryService(); - } - -} diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/launcher-ri/src/test/java/org/apache/tuscany/sca/binding/ws/jaxws/launcher/WSDLFirstTestCaseOFF.java b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/launcher-ri/src/test/java/org/apache/tuscany/sca/binding/ws/jaxws/launcher/WSDLFirstTestCaseOFF.java deleted file mode 100644 index a69fe483bf..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/launcher-ri/src/test/java/org/apache/tuscany/sca/binding/ws/jaxws/launcher/WSDLFirstTestCaseOFF.java +++ /dev/null @@ -1,143 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -package org.apache.tuscany.sca.binding.ws.jaxws.launcher; - -import junit.framework.TestCase; - -import org.apache.tuscany.sca.binding.ws.jaxws.external.client.HelloWorldClientLauncher; -import org.apache.tuscany.sca.binding.ws.jaxws.external.service.HelloWorldServiceLauncher; -import org.apache.tuscany.sca.node.Contribution; -import org.apache.tuscany.sca.node.Node; -import org.apache.tuscany.sca.node.NodeFactory; - -public class WSDLFirstTestCaseOFF extends TestCase { - - private Node node; - - @Override - protected void setUp() throws Exception { - // Start the external service - HelloWorldServiceLauncher.main(null); - - // Start the SCA contribution - node = NodeFactory.newInstance().createNode(new Contribution("common", "../common-contribution/target/classes"), - new Contribution("wsdl-first", "../wsdl-first-contribution/target/classes")); - node.start(); - } - - public void testCalculator() throws Exception { - HelloWorldClientLauncher.main(null); - } - -/* - public void testWait1() throws Exception { - System.out.println("Press a key"); - System.in.read(); - } - - public void testCalculator1() throws Exception { - HelloWorldClientLauncher.main(null); - } - - public void testCalculator2() throws Exception { - HelloWorldClientLauncher.main(null); - } - - public void testCalculator3() throws Exception { - HelloWorldClientLauncher.main(null); - } - - public void testCalculator4() throws Exception { - HelloWorldClientLauncher.main(null); - } - - public void testCalculator5() throws Exception { - HelloWorldClientLauncher.main(null); - } - - public void testCalculator6() throws Exception { - HelloWorldClientLauncher.main(null); - } - - public void testCalculator7() throws Exception { - HelloWorldClientLauncher.main(null); - } - - public void testCalculator8() throws Exception { - HelloWorldClientLauncher.main(null); - } - - public void testCalculator9() throws Exception { - HelloWorldClientLauncher.main(null); - } - - public void testCalculator10() throws Exception { - HelloWorldClientLauncher.main(null); - } - - public void testCalculator11() throws Exception { - HelloWorldClientLauncher.main(null); - } - - public void testCalculator12() throws Exception { - HelloWorldClientLauncher.main(null); - } - - public void testCalculator13() throws Exception { - HelloWorldClientLauncher.main(null); - } - - public void testCalculator14() throws Exception { - HelloWorldClientLauncher.main(null); - } - - public void testCalculator15() throws Exception { - HelloWorldClientLauncher.main(null); - } - - public void testCalculator16() throws Exception { - HelloWorldClientLauncher.main(null); - } - - public void testCalculator17() throws Exception { - HelloWorldClientLauncher.main(null); - } - - public void testCalculator18() throws Exception { - HelloWorldClientLauncher.main(null); - } - - public void testCalculator19() throws Exception { - HelloWorldClientLauncher.main(null); - } - - public void testCalculator20() throws Exception { - HelloWorldClientLauncher.main(null); - } -*/ - - - @Override - protected void tearDown() throws Exception { - node.stop(); - node = null; - } - -} diff --git a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/pom.xml b/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/pom.xml deleted file mode 100644 index 3921a63997..0000000000 --- a/sca-java-2.x/tags/2.0-Beta1-RC1/testing/itest/ws-jaxws/pom.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - 4.0.0 - - org.apache.tuscany.sca - tuscany-itest - 2.0-Beta1 - ../pom.xml - - pom - itest-ws-jaxws - Apache Tuscany SCA iTest WS JAXWS - - - contribution-java-first - contribution-wsdl-first - external-client - external-service - launcher-ri - - - - -- cgit v1.2.3