# File lib/wsdl/soap/cgiStubCreator.rb, line 30 def dump(service_name) warn("CGI stub can have only 1 port. Creating stub for the first port... Rests are ignored.") services = @definitions.service(service_name) unless services raise RuntimeError.new("service not defined: #{service_name}") end ports = services.ports if ports.empty? raise RuntimeError.new("ports not found for #{service_name}") end port = ports[0] if port.porttype.nil? raise RuntimeError.new("porttype not found for #{port}") end dump_porttype(port.porttype) end
Generated with the Darkfish Rdoc Generator 2.