Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

In Files

  • wsdl/service.rb

Class/Module Index [+]

Quicksearch

WSDL::Service

Attributes

name[R]
ports[R]
soap_address[R]

Public Class Methods

new() click to toggle source
 
               # File wsdl/service.rb, line 21
def initialize
  super
  @name = nil
  @ports = XSD::NamedElements.new
  @soap_address = nil
end
            

Public Instance Methods

parse_attr(attr, value) click to toggle source
 
               # File wsdl/service.rb, line 50
def parse_attr(attr, value)
  case attr
  when NameAttrName
    @name = XSD::QName.new(targetnamespace, value.source)
  else
    nil
  end
end
            
parse_element(element) click to toggle source
 
               # File wsdl/service.rb, line 32
def parse_element(element)
  case element
  when PortName
    o = Port.new
    @ports << o
    o
  when SOAPAddressName
    o = WSDL::SOAP::Address.new
    @soap_address = o
    o
  when DocumentationName
    o = Documentation.new
    o
  else
    nil
  end
end
            
targetnamespace() click to toggle source
 
               # File wsdl/service.rb, line 28
def targetnamespace
  parent.targetnamespace
end