Skip to content

Commit

Permalink
Merge pull request #5 from dannysmith/master
Browse files Browse the repository at this point in the history
Attempted to Fix issue #4
  • Loading branch information
IvanShamatov committed May 28, 2014
2 parents 07170d5 + 7b3d2dd commit d06ae02
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions spec/views/wsdl.builder
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ xml.definitions 'xmlns' => 'http://schemas.xmlsoap.org/wsdl/',
xml.tag! "schema", :targetNamespace => settings.namespace, :xmlns => 'http://www.w3.org/2001/XMLSchema' do
defined = []
wsdl.each do |operation, formats|
(formats[:in] + formats[:out]).each do |p|
formats[:in]||={}
formats[:out]||={}
formats[:in].each do |p|
wsdl_type xml, p, defined
end
formats[:out].each do |p|
wsdl_type xml, p, defined
end
end
Expand Down Expand Up @@ -65,4 +70,4 @@ xml.definitions 'xmlns' => 'http://schemas.xmlsoap.org/wsdl/',
end
end
end
end
end

0 comments on commit d06ae02

Please sign in to comment.