Class: WSDL::Parser::MessageParts Private

Inherits:
Object
  • Object
show all
Defined in:
lib/wsdl/parser/input_output.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Base class for building message parts (headers and body) from WSDL operation definitions. Subclasses specify the message direction by implementing #message_reference and #headers.

Direct Known Subclasses

Input, Output

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(binding_operation, port_type_operation, parser_result) ⇒ MessageParts

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Creates a new MessageParts instance.

Parameters:

  • binding_operation (BindingOperation)

    the binding operation with protocol details

  • port_type_operation (PortTypeOperation)

    the port type operation with interface details

  • parser_result (Result)

    the parser result for resolving references



17
18
19
20
21
22
23
# File 'lib/wsdl/parser/input_output.rb', line 17

def initialize(binding_operation, port_type_operation, parser_result)
  @binding_operation = binding_operation
  @port_type_operation = port_type_operation
  @parser_result = parser_result

  build_parts
end

Instance Attribute Details

#body_partsArray<XML::Element> (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

The body part elements for this message.

These elements define the structure of the SOAP body.

Returns:



37
38
39
# File 'lib/wsdl/parser/input_output.rb', line 37

def body_parts
  @body_parts
end

#header_partsArray<XML::Element> (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

The header part elements for this message.

These elements define the structure of the SOAP header.

Returns:



30
31
32
# File 'lib/wsdl/parser/input_output.rb', line 30

def header_parts
  @header_parts
end