Nachrichten

PerformSimpleCalculation (Request)
Performs a simple calculation

operation Operation to perform (tns:Operation)
value-a First value (xs:decimal)
value-b Second value (xs:decimal)

PerformSimpleCalculation (Response)
Result of a simple calculation

result Result (xs:decimal)

PerformCalculations (Request)
Performs calculations

correlation-id Unique request id (xs:string)
calculations Calculations to perform (tns:ArrayOfCalculation)

PerformCalculations (Response)
The response contains the outcome of something (just for demonstration purpose)

correlation-id Unique request id (xs:string)
calculations Calculation results (tns:ArrayOfCalculationResult)

CalculatorError
Provides error information

message Fehlermeldung (xs:string)
code Fehlercode (xs:int)

Typen

ArrayOfCalculation
Array of calculations

value Single calculation (tns:Calculation)

Calculation
Calculation inputs

operation Operation to perform (tns:Operation)
inputs Input values for the operation (tns:ArrayOfInt)

ArrayOfInt
Array of integer values

value Single value (xs:int)

ArrayOfCalculationResult
Array of calculation results

value Single calculation (tns:CalculationResult)

CalculationResult
Result of one operation

result Result of the calculation (xs:decimal)

Listen und Formate

Operation
Defines the arithmetic operations

ADD Add
SUBTRACT Substract
MULTIPLY Multiply
DIVIDE Divide

Imports