diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-28 04:47:38 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-28 04:47:38 +0000 |
commit | d7fc6366e08dad6e6bc7004cdd08052b50f10040 (patch) | |
tree | 2fb513362c5fca582d9acec8d6db5e92ebba89dd /java/sca/modules/binding-jsonp-runtime/src/test | |
parent | 7a0db9a22404423e422095ca8af87b591f0d824d (diff) |
Update jsonp binding to support non-string args. Requires the client to quote string args but i can't see how to easily avoid that
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@798402 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/binding-jsonp-runtime/src/test')
-rw-r--r-- | java/sca/modules/binding-jsonp-runtime/src/test/java/test/BindingTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/modules/binding-jsonp-runtime/src/test/java/test/BindingTestCase.java b/java/sca/modules/binding-jsonp-runtime/src/test/java/test/BindingTestCase.java index d817aff0ff..ee5187f288 100644 --- a/java/sca/modules/binding-jsonp-runtime/src/test/java/test/BindingTestCase.java +++ b/java/sca/modules/binding-jsonp-runtime/src/test/java/test/BindingTestCase.java @@ -39,7 +39,7 @@ public class BindingTestCase { @Test public void testService() throws MalformedURLException, IOException { - URL url = new URL("http://localhost:8085/HelloWorldService/sayHello?name=petra&callback=foo"); + URL url = new URL("http://localhost:8085/HelloWorldService/sayHello?name=\"petra\"&callback=foo"); BufferedReader br = new BufferedReader(new InputStreamReader(url.openStream())); String response = br.readLine(); Assert.assertEquals("foo(\"Hello petra\");", response); |