Class: WsdlMapper::Runtime::Middlewares::SimpleMessageFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/wsdl_mapper/runtime/middlewares/simple_message_factory.rb

Direct Known Subclasses

AsyncMessageFactory

Instance Method Summary (collapse)

Instance Method Details

- (Array<WsdlMapper::Runtime::Operation, WsdlMapper::Runtime::Message>) call(operation, body, *args)

Creates a new WsdlMapper::Runtime::Message with the given input body. It relies on Operation#new_input to create the message.

Parameters:

Returns:



11
12
13
14
15
# File 'lib/wsdl_mapper/runtime/middlewares/simple_message_factory.rb', line 11

def call(operation, body, *args)
  message = operation.new_input body: body

  [operation, message]
end