From 7294186c64cc760a6857c2aab0b583237886c66b Mon Sep 17 00:00:00 2001 From: slaws Date: Wed, 10 Sep 2008 12:45:05 +0000 Subject: TUSCANY-2587 - changing the way that promoted service names are formed so that component and service name can be easily extracted if required git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@693821 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/binding/ws/axis2/itests/QuestionMarkWSDLImportTestCase.java | 2 +- .../sca/binding/ws/axis2/itests/QuestionMarkWSDLIncludeTestCase.java | 2 +- .../tuscany/sca/binding/ws/axis2/itests/QuestionMarkWSDLTestCase.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca') diff --git a/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/QuestionMarkWSDLImportTestCase.java b/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/QuestionMarkWSDLImportTestCase.java index bfccb62cc7..b276d8210f 100644 --- a/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/QuestionMarkWSDLImportTestCase.java +++ b/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/QuestionMarkWSDLImportTestCase.java @@ -65,7 +65,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/$promoted$.ep1", "AccountService")); + Service service = definition.getService(new QName("http://account2/AccountService/$promoted$ep1", "AccountService")); Port port = service.getPort("AccountSoapPort"); String endpoint = getEndpoint(port); diff --git a/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/QuestionMarkWSDLIncludeTestCase.java b/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/QuestionMarkWSDLIncludeTestCase.java index aa54316660..59eb6164fa 100644 --- a/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/QuestionMarkWSDLIncludeTestCase.java +++ b/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/QuestionMarkWSDLIncludeTestCase.java @@ -65,7 +65,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/$promoted$.ep1", "AccountService")); + Service service = definition.getService(new QName("http://accounts/AccountService/$promoted$ep1", "AccountService")); Port port = service.getPort("AccountSoapPort"); String endpoint = getEndpoint(port); diff --git a/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/QuestionMarkWSDLTestCase.java b/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/QuestionMarkWSDLTestCase.java index ac9da19119..0508f28e11 100644 --- a/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/QuestionMarkWSDLTestCase.java +++ b/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/QuestionMarkWSDLTestCase.java @@ -65,7 +65,7 @@ public class QuestionMarkWSDLTestCase extends TestCase { Definition definition = wsdlReader.readWSDL("http://localhost:8085/services/HelloWorldWebService?wsdl"); assertNotNull(definition); - Service service = definition.getService(new QName("http://helloworld/HelloWorldService/$promoted$.ep1", + Service service = definition.getService(new QName("http://helloworld/HelloWorldService/$promoted$ep1", "HelloWorldService")); Port port = service.getPort("HelloWorldSoapPort"); -- cgit v1.2.3