summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/components/webservice/client-test.cpp
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-01-25 07:28:50 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-01-25 07:28:50 +0000
commitc4de801fcb55b6ca0c8c12777007948eeb7a9e79 (patch)
tree93865908d8c24ece181826b093c4cac343b9b042 /sca-cpp/trunk/components/webservice/client-test.cpp
parent0bb923d739f7c1e6f5bb9b1af1e2fad0253350d6 (diff)
Added skeletons and build options for a few more utility components. Minor refactoring of the web service component.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@902721 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/components/webservice/client-test.cpp')
-rw-r--r--sca-cpp/trunk/components/webservice/client-test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/sca-cpp/trunk/components/webservice/client-test.cpp b/sca-cpp/trunk/components/webservice/client-test.cpp
index 6e63c83ecb..7c1cd601e0 100644
--- a/sca-cpp/trunk/components/webservice/client-test.cpp
+++ b/sca-cpp/trunk/components/webservice/client-test.cpp
@@ -36,7 +36,6 @@
namespace tuscany {
namespace webservice {
-const string url("http://localhost:8090/webservice");
bool testEval() {
http::CURLSession cs;
@@ -47,7 +46,7 @@ bool testEval() {
+ (list<value>() + "@xmlns:ns1" + string("http://ws.apache.org/axis2/services/echo"))
+ (list<value>() + "text" + string("Hello World!")));
- const failable<value> rval = http::evalExpr(mklist<value>(func, arg), url, cs);
+ const failable<value> rval = http::evalExpr(mklist<value>(func, arg), "http://localhost:8090/echo-client", cs);
assert(hasContent(rval));
const list<value> r = mklist<value>(