diff options
Diffstat (limited to '')
2 files changed, 8 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/itest/ws/http-ssl/src/main/resources/org/apache/tuscany/sca/binding/ws/axis2/helloworld/helloworld.composite b/sca-java-2.x/trunk/itest/ws/http-ssl/src/main/resources/org/apache/tuscany/sca/binding/ws/axis2/helloworld/helloworld.composite index 15f82a1773..a56dfb6212 100644 --- a/sca-java-2.x/trunk/itest/ws/http-ssl/src/main/resources/org/apache/tuscany/sca/binding/ws/axis2/helloworld/helloworld.composite +++ b/sca-java-2.x/trunk/itest/ws/http-ssl/src/main/resources/org/apache/tuscany/sca/binding/ws/axis2/helloworld/helloworld.composite @@ -48,6 +48,10 @@ <service name="HelloWorld" requires="confidentiality"> <binding.ws/> </service> - </component> + </component> + <component name="HelloWorldClient3"> + <implementation.java class="org.apache.tuscany.sca.binding.ws.axis2.helloworld.HelloWorldClient"/> + <reference name="helloWorldWS" requires="confidentiality" target="HelloWorldService2"/> + </component> </composite> diff --git a/sca-java-2.x/trunk/itest/ws/http-ssl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/HTTPSTestCase.java b/sca-java-2.x/trunk/itest/ws/http-ssl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/HTTPSTestCase.java index f117c5d4ec..63b781529e 100644 --- a/sca-java-2.x/trunk/itest/ws/http-ssl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/HTTPSTestCase.java +++ b/sca-java-2.x/trunk/itest/ws/http-ssl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/HTTPSTestCase.java @@ -31,6 +31,7 @@ public class HTTPSTestCase extends TestCase { private Node node; private HelloWorld helloWorld; private HelloWorld helloWorld2; + private HelloWorld helloWorld3; @Override protected void setUp() throws Exception { @@ -38,11 +39,13 @@ public class HTTPSTestCase extends TestCase { node.start(); helloWorld = node.getService(HelloWorld.class, "HelloWorldClient"); helloWorld2 = node.getService(HelloWorld.class, "HelloWorldClient2"); + helloWorld3 = node.getService(HelloWorld.class, "HelloWorldClient3"); } public void testCalculator() throws Exception { assertEquals("Hello petra", helloWorld.getGreetings("petra")); assertEquals("Hello petra", helloWorld2.getGreetings("petra")); + assertEquals("Hello petra", helloWorld3.getGreetings("petra")); } @Override |