From 8fba6f331c3d4d82cc2fd2dcc5e0386346503c78 Mon Sep 17 00:00:00 2001 From: slaws Date: Tue, 19 Oct 2010 12:44:59 +0000 Subject: TUSCANY-3711 - fix to match new WSDL service generate approach git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1024221 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/binding/ws/axis2/QuestionMarkWSDLImportTestCase.java | 2 +- .../tuscany/sca/binding/ws/axis2/QuestionMarkWSDLIncludeTestCase.java | 2 +- .../apache/tuscany/sca/binding/ws/axis2/QuestionMarkWSDLTestCase.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sca-java-2.x/trunk/testing/itest/ws/wsdl/src') diff --git a/sca-java-2.x/trunk/testing/itest/ws/wsdl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/QuestionMarkWSDLImportTestCase.java b/sca-java-2.x/trunk/testing/itest/ws/wsdl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/QuestionMarkWSDLImportTestCase.java index 707932425f..e48e1bc050 100644 --- a/sca-java-2.x/trunk/testing/itest/ws/wsdl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/QuestionMarkWSDLImportTestCase.java +++ b/sca-java-2.x/trunk/testing/itest/ws/wsdl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/QuestionMarkWSDLImportTestCase.java @@ -66,7 +66,7 @@ public class QuestionMarkWSDLImportTestCase extends TestCase { Definition definition = wsdlReader.readWSDL("http://localhost:8086/AccountService?wsdl"); assertNotNull(definition); - Service service = definition.getService(new QName("http://account2/AccountService/Account", "AccountService")); + Service service = definition.getService(new QName("http://account2/AccountService/Account", "Account")); Port port = service.getPort("AccountSOAP11Port"); String endpoint = getEndpoint(port); diff --git a/sca-java-2.x/trunk/testing/itest/ws/wsdl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/QuestionMarkWSDLIncludeTestCase.java b/sca-java-2.x/trunk/testing/itest/ws/wsdl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/QuestionMarkWSDLIncludeTestCase.java index 5b5076ae14..173d952b0e 100644 --- a/sca-java-2.x/trunk/testing/itest/ws/wsdl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/QuestionMarkWSDLIncludeTestCase.java +++ b/sca-java-2.x/trunk/testing/itest/ws/wsdl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/QuestionMarkWSDLIncludeTestCase.java @@ -66,7 +66,7 @@ public class QuestionMarkWSDLIncludeTestCase extends TestCase { Definition definition = wsdlReader.readWSDL("http://localhost:8085/AccountService?wsdl"); assertNotNull(definition); - Service service = definition.getService(new QName("http://accounts/AccountService/Account", "AccountService")); + Service service = definition.getService(new QName("http://accounts/AccountService/Account", "Account")); Port port = service.getPort("AccountSOAP11Port"); String endpoint = getEndpoint(port); diff --git a/sca-java-2.x/trunk/testing/itest/ws/wsdl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/QuestionMarkWSDLTestCase.java b/sca-java-2.x/trunk/testing/itest/ws/wsdl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/QuestionMarkWSDLTestCase.java index c216c23765..635c49b8ab 100644 --- a/sca-java-2.x/trunk/testing/itest/ws/wsdl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/QuestionMarkWSDLTestCase.java +++ b/sca-java-2.x/trunk/testing/itest/ws/wsdl/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/QuestionMarkWSDLTestCase.java @@ -67,7 +67,7 @@ public class QuestionMarkWSDLTestCase extends TestCase { Definition definition = wsdlReader.readWSDL("http://localhost:8085/services/HelloWorldWebService2?wsdl"); assertNotNull(definition); Service service = definition.getService(new QName("http://helloworld/HelloWorldService/HelloWorld", - "HelloWorldService")); + "HelloWorld")); Port port = service.getPort("ep2SOAP11Port"); String endpoint = getEndpoint(port); @@ -93,7 +93,7 @@ public class QuestionMarkWSDLTestCase extends TestCase { Definition definition = wsdlReader.readWSDL("http://localhost:8085/foo/bar?wsdl"); assertNotNull(definition); Service service = definition.getService(new QName("http://axis2.ws.binding.sca.tuscany.apache.org/", - "HelloWorldService")); + "HelloWorld")); Port port = service.getPort("ep1SOAP11Port"); String endpoint = getEndpoint(port); -- cgit v1.2.3