plasma-framework/private/qtjolie-branch/tests/calculatorclient.ol
Rob Scheepmaker 413f8da6b3 And port to the new api, and rename the copy.
svn path=/trunk/KDE/kdelibs/; revision=1023814
2009-09-15 11:12:45 +00:00

22 lines
331 B
Plaintext

include "console.iol"
interface CalculatorInterface {
RequestResponse:
add
}
outputPort Calculator {
Location: "socket://localhost:9001/!/Calculator"
Protocol: soap { .debug = 1 }
Interfaces: CalculatorInterface
}
main
{
request.x = 2;
request.y = 3;
add@Calculator( request )( response );
println@Console( response )()
}