diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2012-10-11 15:44:04 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2012-10-11 15:44:04 +0000 |
commit | f592a6e21180e86ea5de9125b1fa6a7763377608 (patch) | |
tree | 51ec5f9c53e8563e9e3f2f97507ca767cbf9b187 /sca-java-2.x/trunk/modules/binding-rest-runtime/src/test/java | |
parent | c782c4865737d0dff39156a516a488bef05e66a0 (diff) |
Fix an issue related to @Path on the jaxrs interface
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1397118 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
2 files changed, 2 insertions, 1 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-rest-runtime/src/test/java/org/apache/tuscany/sca/binding/rest/wireformat/json/CatalogServiceTestCase.java b/sca-java-2.x/trunk/modules/binding-rest-runtime/src/test/java/org/apache/tuscany/sca/binding/rest/wireformat/json/CatalogServiceTestCase.java index 7a07c9b5c8..4688272a39 100644 --- a/sca-java-2.x/trunk/modules/binding-rest-runtime/src/test/java/org/apache/tuscany/sca/binding/rest/wireformat/json/CatalogServiceTestCase.java +++ b/sca-java-2.x/trunk/modules/binding-rest-runtime/src/test/java/org/apache/tuscany/sca/binding/rest/wireformat/json/CatalogServiceTestCase.java @@ -40,7 +40,7 @@ import com.meterware.httpunit.WebRequest; import com.meterware.httpunit.WebResponse; public class CatalogServiceTestCase { - private static final String SERVICE_URL = "http://localhost:8085/Catalog"; + private static final String SERVICE_URL = "http://localhost:8085/Catalog/catalog"; private static final String GET_RESPONSE = "{\"items\":[{\"price\":\"$1.55\",\"name\":\"Pear\"},{\"price\":\"$2.99\",\"name\":\"Apple\"},{\"price\":\"$3.55\",\"name\":\"Orange\"}]}"; diff --git a/sca-java-2.x/trunk/modules/binding-rest-runtime/src/test/java/services/store/Catalog.java b/sca-java-2.x/trunk/modules/binding-rest-runtime/src/test/java/services/store/Catalog.java index 5fb29782f2..9940d0601e 100644 --- a/sca-java-2.x/trunk/modules/binding-rest-runtime/src/test/java/services/store/Catalog.java +++ b/sca-java-2.x/trunk/modules/binding-rest-runtime/src/test/java/services/store/Catalog.java @@ -33,6 +33,7 @@ import org.oasisopen.sca.annotation.Remotable; @Remotable +@Path("catalog") public interface Catalog { @GET |