diff --git a/app/helpers/washout_builder_helper.rb b/app/helpers/washout_builder_helper.rb index e353bb7..77b78fb 100644 --- a/app/helpers/washout_builder_helper.rb +++ b/app/helpers/washout_builder_helper.rb @@ -42,7 +42,6 @@ def get_complex_types(map) defined.concat(nested) end end - defined << {:class =>"ValidationErrors", :obj => nil} unless get_fault_types_names(map).blank? defined.sort_by { |hash| hash[:class].downcase }.uniq unless defined.blank? end @@ -66,16 +65,7 @@ def get_soap_action_names(map) - def create_html_complex_type_validation_errors(xml) - xml.a( "name" => "ValidationErrors") { } - xml.h3 "ValidationErrors" - xml.ul("class" => "pre") { - xml.li { |pre| pre << "string related" } - xml.li { |pre| pre << "string message" } - xml.li { |pre| pre << "Array of string arguments" } - } - end diff --git a/app/views/wash_with_html/doc.builder b/app/views/wash_with_html/doc.builder index ea90d62..79cbeb4 100644 --- a/app/views/wash_with_html/doc.builder +++ b/app/views/wash_with_html/doc.builder @@ -99,7 +99,6 @@ xml.html( "xmlns" => "http://www.w3.org/1999/xhtml" ) { unless @fault_types.blank? - create_html_complex_type_validation_errors(xml) xml.h2 "Fault types:" create_html_fault_types_details(xml, @map) end diff --git a/lib/washout_builder/version.rb b/lib/washout_builder/version.rb index a89a58e..db02cd9 100644 --- a/lib/washout_builder/version.rb +++ b/lib/washout_builder/version.rb @@ -1,3 +1,3 @@ module WashoutBuilder - VERSION = "0.3.9" + VERSION = "0.4.0" end