def controller_is_a_service?(controller)
      map_controllers('detect') do |hash|
        if hash[:route].present? && hash[:route].respond_to?(:defaults)
          controller_naming(hash[:route].defaults[:controller]) == controller_naming(controller)
        end
      end
    end
def controller_is_a_service?(controller)
      map_controllers('detect') do |hash|
        if hash[:route].present? && hash[:route].respond_to?(:defaults)
          controller_naming(hash[:route].defaults[:controller]) == controller_naming(controller)
        end
      end
    end
checking if a controller is a soap service
 @see #map_controllers
 @see #controller_naming

 @param [String] controller The controller that is used to check if it is soap service

 @return [Boolean] Returns true if we find a route that can generate wsdl and the name of the route matches the name of the controller

 @api private