method

create_standalone_server_stub

Importance_0
v1_8_6_287 - Show latest stable - 0 notes - Class: WSDL::SOAP::WSDL2Ruby
create_standalone_server_stub(servicename) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/wsdl/soap/wsdl2ruby.rb, line 106
  def create_standalone_server_stub(servicename)
    @logger.info { "Creating standalone stub." }
    servicename ||= @wsdl.services[0].name.name
    @standalone_server_stub_filename = servicename + '.rb'
    check_file(@standalone_server_stub_filename) or return
    write_file(@standalone_server_stub_filename) do |f|
      f << shbang << "\n"
      f << "require '#{@servant_skelton_filename}'\n\n" if @servant_skelton_filename
      f << WSDL::SOAP::StandaloneServerStubCreator.new(@wsdl).dump(
        create_name(servicename))
    end
  end
Register or log in to add new notes.