Module: ActionWebService::Dispatcher::ActionController::WsdlAction
- Defined in:
- lib/action_web_service/dispatcher/action_controller_dispatcher.rb
Overview
:nodoc:
Constant Summary collapse
- XsdNs =
'http://www.w3.org/2001/XMLSchema'
- WsdlNs =
'http://schemas.xmlsoap.org/wsdl/'
- SoapNs =
'http://schemas.xmlsoap.org/wsdl/soap/'
- SoapEncodingNs =
'http://schemas.xmlsoap.org/soap/encoding/'
- SoapHttpTransport =
'http://schemas.xmlsoap.org/soap/http'
Instance Method Summary collapse
Instance Method Details
#wsdl ⇒ Object
152 153 154 155 156 157 158 159 160 161 162 163 164 |
# File 'lib/action_web_service/dispatcher/action_controller_dispatcher.rb', line 152 def wsdl case request.method when :get begin = { :type => 'text/xml', :disposition => 'inline' } send_data(to_wsdl, ) rescue Exception => e log_error(e) unless logger.nil? end when :post render :status => 500, :text => 'POST not supported' end end |