Print result from the UpperTest service to show wrappering/unwrappering issues.

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1062972 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jsdelfino 2011-01-24 20:58:16 +00:00
parent 0593ae1f96
commit 08a9cd21f5

View file

@ -70,6 +70,8 @@ public class WelloTest {
final Element ureq = xdom("http://sample/upperrpc", "arg0", text("Hello " + name));
final Element ures = (Element)upper.rpccall("upper", ureq);
// Print result to show wrappering issues
System.out.println("UpperTest result " + xml(ures));
final String s = xreduce(print, "", singleton(ures));
return xdom("http://sample/hello", "helloResponse", elem("result", text(s)));
}