plasma-framework/plasma/private/qtjolie-branch/tests/calculatorclient.ol
2013-01-30 13:43:33 +01: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 )()
}