d99e623ae9
classes. Also introduce a small calculatorservice example showing that, with a quick client written using jolie. svn path=/branches/work/~ervin/qtjolie/; revision=978075
22 lines
331 B
Plaintext
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 )()
|
|
}
|