lib/shapewear/request.rb in shapewear-0.1.1 vs lib/shapewear/request.rb in shapewear-0.1.2
- old
+ new
@@ -91,10 +91,10 @@
logger.debug "Serializing SOAP Fault: #{ex.inspect}"
xb = Builder::XmlMarkup.new
xb.instruct!
- xb.Envelope 'xmlns:e' => soap_env_ns do |xenv|
+ xb.tag! 'e:Envelope', 'xmlns:e' => soap_env_ns do |xenv|
xenv.tag! 'e:Body' do |xbody|
xbody.tag! 'e:Fault' do |xf|
case soap_version
when :soap11
xf.faultcode "e:Server.#{ex.class.name}"